46 lines
1,012 B
Nix
46 lines
1,012 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,
|
||
...
|
||
}: let
|
||
inherit
|
||
(lib)
|
||
mkDefault
|
||
;
|
||
in {
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = ["ahci" "usbhid"];
|
||
boot.initrd.kernelModules = [];
|
||
boot.kernelModules = ["kvm-intel"];
|
||
boot.extraModulePackages = [];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/adcf0158-edfb-402f-82e7-61e4902af989";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=@nixos"
|
||
"compress=zstd"
|
||
"noatime"
|
||
];
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/ff54b622-0e26-4c6e-aa0c-ac2c1e12699a";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
swapDevices = [
|
||
{device = "/dev/disk/by-uuid/381a9c5e-4d71-45b4-ac62-e7414b3768fc";}
|
||
];
|
||
|
||
powerManagement.cpuFreqGovernor = mkDefault "ondemand";
|
||
}
|