# 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, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; boot.initrd.systemd.enable = true; boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/mapper/crypted"; fsType = "btrfs"; options = [ "subvol=@root" "compress=zstd" ]; }; boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/86bd8c14-aa10-47bd-a609-11934a2dc8a0"; fileSystems."/swap" = { device = "/dev/mapper/crypted"; fsType = "btrfs"; options = ["subvol=@swap"]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/8EC7-9595"; fsType = "vfat"; options = ["fmask=0022" "dmask=0022"]; }; fileSystems."/nix" = { device = "/dev/mapper/crypted"; fsType = "btrfs"; options = [ "subvol=@nix" "compress=zstd" "noatime" ]; }; fileSystems."/home" = { device = "/dev/mapper/crypted"; fsType = "btrfs"; options = [ "subvol=@home" "compress=zstd" ]; }; swapDevices = [ { device = "/swap/swapfile"; size = 36864; } ]; boot.resumeDevice = "/dev/mapper/crypted"; boot.kernelParams = [ "resume_offset=533760" ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }