# 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, ... }: let uuid = uuid: "/dev/disk/by-uuid/${uuid}"; in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "nvme" "usb_storage" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" "kvm-intel" ]; boot.extraModulePackages = [ ]; boot.kernelParams = [ "boot.shell_on_fail" ]; boot.supportedFilesystems = [ "btrfs" ]; fileSystems = let main = uuid "5f24b2a6-643d-4abd-a3b2-61ee124700b5"; esp = uuid "A2B8-4C6E"; in { "/" = { device = "none"; fsType = "tmpfs"; options = [ "defaults" "size=4G" "mode=755" ]; }; "/persist" = { device = main; fsType = "btrfs"; options = [ "subvol=root" "autodefrag" "noatime" "ssd" ]; neededForBoot = true; }; "/nix" = { device = main; fsType = "btrfs"; options = [ "subvol=nix" "autodefrag" "noatime" "ssd" ]; neededForBoot = true; }; "/boot" = { device = main; fsType = "btrfs"; options = [ "subvol=boot" "autodefrag" "noatime" "ssd" ]; neededForBoot = true; }; "/boot/efi" = { device = esp; fsType = "vfat"; neededForBoot = true; }; }; swapDevices = [ { device = uuid "b064d69c-0310-4a94-a0de-a4b358f54f9e"; } ]; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; }