hardware-configuration.nix (1292B)
1 # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 # and may be overwritten by future invocations. Please make changes 3 # to /etc/nixos/configuration.nix instead. 4 { 5 config, 6 lib, 7 pkgs, 8 modulesPath, 9 ... 10 }: { 11 imports = [ 12 (modulesPath + "/profiles/qemu-guest.nix") 13 ]; 14 15 boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; 16 boot.initrd.kernelModules = []; 17 boot.kernelModules = []; 18 boot.extraModulePackages = []; 19 20 fileSystems."/" = { 21 device = "/dev/disk/by-uuid/429b4a0d-e3a3-4843-babb-3c709e0aca85"; 22 fsType = "btrfs"; 23 options = ["subvol=root"]; 24 }; 25 26 fileSystems."/nix" = { 27 device = "/dev/disk/by-uuid/429b4a0d-e3a3-4843-babb-3c709e0aca85"; 28 fsType = "btrfs"; 29 options = ["subvol=nix"]; 30 }; 31 32 fileSystems."/var/lib" = { 33 device = "/dev/disk/by-uuid/429b4a0d-e3a3-4843-babb-3c709e0aca85"; 34 fsType = "btrfs"; 35 options = ["subvol=data"]; 36 }; 37 38 fileSystems."/swap" = { 39 device = "/dev/disk/by-uuid/429b4a0d-e3a3-4843-babb-3c709e0aca85"; 40 fsType = "btrfs"; 41 options = ["subvol=swap"]; 42 }; 43 44 fileSystems."/boot" = { 45 device = "/dev/disk/by-uuid/352C-FCAB"; 46 fsType = "vfat"; 47 options = ["fmask=0022" "dmask=0022"]; 48 }; 49 50 swapDevices = []; 51 52 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 53 }