# 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") ]; # Enable support for the Xbox One wireless dongle hardware.xone.enable = true; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "nvme" "sd_mod"]; boot.initrd.kernelModules = ["amdgpu"]; boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; boot.extraModprobeConfig = "options snd_hda_intel power_save=0"; fileSystems."/" = { device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; fsType = "btrfs"; options = ["subvol=@root"]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; fsType = "btrfs"; options = ["subvol=@nix"]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; fsType = "btrfs"; options = ["subvol=@boot"]; }; fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/FB87-4CBC"; fsType = "vfat"; }; fileSystems = { /* Mount the root subvolume of the SSD This is helpful for getting things from my old Arch install, as well as for running btdu */ "/mnt/ssd" = { device = config.fileSystems."/".device; fsType = config.fileSystems."/".fsType; options = ["subvolid=5" "ro"]; }; "/mnt/windows" = { device = "/dev/disk/by-uuid/B61AFDAC1AFD6A2F"; fsType = "ntfs3"; neededForBoot = false; options = ["noauto" "windows_names"]; }; "/home" = { device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; fsType = "btrfs"; options = ["subvol=@home"]; }; "/persist" = { device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; fsType = "btrfs"; options = ["subvol=@persist"]; neededForBoot = true; }; }; swapDevices = []; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }