# 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, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "uas" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "none"; fsType = "tmpfs"; options = [ "defaults" "size=256G" "mode=755" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/c6cf43cb-d0d2-4111-bc81-994e41b2632d"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" "autodefrag" ]; }; fileSystems."/etc" = { device = "/dev/disk/by-uuid/c6cf43cb-d0d2-4111-bc81-994e41b2632d"; fsType = "btrfs"; options = [ "subvol=etc" "compress=zstd" "noatime" "autodefrag" ]; }; fileSystems."/root" = { device = "/dev/disk/by-uuid/c6cf43cb-d0d2-4111-bc81-994e41b2632d"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" "noatime" "autodefrag" ]; }; fileSystems."/var/log" = { device = "/dev/disk/by-uuid/c6cf43cb-d0d2-4111-bc81-994e41b2632d"; fsType = "btrfs"; options = [ "subvol=log" "compress=zstd" "noatime" "autodefrag" ]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/c6cf43cb-d0d2-4111-bc81-994e41b2632d"; fsType = "btrfs"; options = [ "subvol=home" "compress=zstd" "autodefrag" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/216E-A7AC"; fsType = "vfat"; }; swapDevices = [ { device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_1TB_S5P2NS0T307907H-part2"; randomEncryption.enable = true; } ]; fileSystems."/home/matt/Games" = { device = "/dev/disk/by-uuid/1adb3161-ef9e-45d9-be5f-dd718186f1b3"; fsType = "ext4"; }; fileSystems."/home/matt/1TB" = { device = "/dev/disk/by-uuid/7f9c2d1e-64ee-d901-2084-2d1e64eed901"; fsType = "ext4"; }; # 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.enp10s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp9s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }