# 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 = [ "nvme" "xhci_pci" "ahci" "usbhid" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; # fileSystems."/" = # { device = "/dev/disk/by-label/NVME_NIXOS"; # fsType = "ext4"; # }; # # fileSystems."/boot" = # { device = "/dev/disk/by-label/NVME_ESP"; # fsType = "vfat"; # options = [ "fmask=0022" "dmask=0022" ]; # }; fileSystems."/" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd:1" "noatime" "discard=async" ]; }; fileSystems."/home" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; options = [ "subvol=home" "compress=zstd:1" "noatime" "discard=async" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd:1" "noatime" "discard=async" ]; }; swapDevices = [{ device = "/dev/disk/by-label/NVME_SWAP"; } ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }