nix check works!!

This commit is contained in:
2026-06-18 19:03:46 -05:00
parent 9c395bd12c
commit 6de2694495
9 changed files with 95 additions and 56 deletions
+2 -15
View File
@@ -8,10 +8,11 @@
{
imports = [
./hardware-configuration.nix
../../modules/virtualization
];
boot = {
loader = {
grub = {
enable = true;
@@ -41,13 +42,10 @@
isNormalUser = true;
extraGroups = [
"wheel"
"libvirtd"
"kvm"
];
};
programs.firefox.enable = true;
programs.virt-manager.enable = true;
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
@@ -69,17 +67,6 @@
cmatrix
];
virtualization = {
libvirtd.enable = true;
spiceUSBRedirection.enable = true;
podman = {
enable = true;
dockerCompat = true; # lets you use `docker` commands → podman
defaultNetwork.settings.dns_enabled = true;
};
};
services.openssh.enable = true;
services.code-server = {
enable = true;
+31 -17
View File
@@ -1,32 +1,46 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "uas" "sd_mod" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"uas"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/38bebcad-2550-4dd2-88af-4fbce1c0c905";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/38bebcad-2550-4dd2-88af-4fbce1c0c905";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/59D6-6348";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/398298a3-c3df-45fb-9667-fbee66cdb40f"; }
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/59D6-6348";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/398298a3-c3df-45fb-9667-fbee66cdb40f"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
View File