{ config, lib, modulesPath, ... }: let nixosDevice = "/dev/disk/by-uuid/59148bdd-ecb1-49a0-beec-89d0adf909ae"; btrfsOptions = [ "compress-force=zstd:1" "noatime" "discard=async" "space_cache=v2" "ssd" ]; in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { initrd = { availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; kernelModules = [ ]; }; kernelModules = [ "kvm-amd" ]; extraModulePackages = [ ]; }; fileSystems = { "/" = { device = nixosDevice; fsType = "btrfs"; options = btrfsOptions ++ [ "subvol=@" ]; }; "/home" = { device = nixosDevice; fsType = "btrfs"; options = btrfsOptions ++ [ "subvol=@home" ]; }; "/var" = { device = nixosDevice; fsType = "btrfs"; options = btrfsOptions ++ [ "subvol=@var" ]; }; "/nix" = { device = nixosDevice; fsType = "btrfs"; options = btrfsOptions ++ [ "subvol=@nix" ]; }; "/boot" = { device = "/dev/disk/by-uuid/C675-43E1"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; }; swapDevices = [ ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }