# 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, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod" "usbhid" "sd_mod"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/disk/by-uuid/8fe40009-64b9-4f75-8cfe-d73560e3c7d0"; fsType = "btrfs"; options = ["subvol=@" "noatime" "space_cache=v2" "compress=zstd"]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/8fe40009-64b9-4f75-8cfe-d73560e3c7d0"; fsType = "btrfs"; options = ["subvol=@home" "noatime" "space_cache=v2" "compress=zstd"]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/8fe40009-64b9-4f75-8cfe-d73560e3c7d0"; fsType = "btrfs"; options = ["subvol=@nix" "noatime" "space_cache=v2" "compress=zstd"]; }; # fileSystems."/data" = { # device = "/dev/disk/by-uuid/d57652b7-5506-4cdd-8694-90bcd4810d7b"; # fsType = "btrfs"; # options = ["noatime" "space_cache=v2" "compress=zstd"]; # }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/8BA9-84E8"; fsType = "vfat"; options = ["fmask=0022" "dmask=0022"]; }; fileSystems."/nfs" = { device = "192.168.1.153:/raid/swarm"; fsType = "nfs"; }; swapDevices = []; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp59s0.useDHCP = lib.mkDefault true; services.btrfs.autoScrub.enable = true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }