4
0
Fork 0
rC3-nixos/sysconf/hardware-configuration.nix

34 lines
1010 B
Nix
Raw Permalink Normal View History

# 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 = [ "ahci" "xhci_pci" "usbhid" "ums_realtek" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.extraModprobeConfig = "";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2e44d45a-88da-4032-919b-80a404acfac1";
fsType = "btrfs";
options = [ "compress-force=zstd:1,subvol=@/slash" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/50B3-C3AC";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ec426e80-c206-4460-8ec6-d190b99a1f6f"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}