2020-11-05 21:28:23 +01:00
|
|
|
|
# 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 = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/ff47c479-e6d4-4cd6-93f1-9685f4018bc6";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/493cb228-c292-4f71-9f38-dcb3e96dec47";
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/D4AC-91B0";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
2020-11-10 22:17:47 +01:00
|
|
|
|
zramSwap.enable = true;
|
2020-11-05 21:28:23 +01:00
|
|
|
|
|
|
|
|
|
|
boot.loader.grub = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
version = 2;
|
|
|
|
|
|
efiSupport = true;
|
|
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
|
|
device = "/dev/sda";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
}
|