30 lines
992 B
Nix
30 lines
992 B
Nix
# 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" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.kernelParams = [ "boot.shell_on_fail" ];
|
||
boot.supportedFilesystems = [ "btrfs" ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/b2165920-9be1-435d-838b-82346311892f";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=root" "compress=zstd" "autodefrag" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/boot/efi" = {
|
||
device = "/dev/disk/by-uuid/0E4C-42B2";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
}
|