2020-02-07 03:52:17 +04: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.
|
2020-08-06 23:34:37 +04:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
2020-02-07 03:52:17 +04:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2020-08-06 23:34:37 +04:00
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2020-02-07 03:52:17 +04:00
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2020-08-06 23:34:37 +04:00
|
|
|
|
{ device = "/dev/disk/by-uuid/37acf829-e092-4232-85a0-3876f0b34cc8";
|
2020-03-22 01:07:54 +04:00
|
|
|
|
fsType = "f2fs";
|
2020-02-07 03:52:17 +04:00
|
|
|
|
};
|
|
|
|
|
|
2020-08-06 23:34:37 +04:00
|
|
|
|
boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/ec31faea-a697-42b2-b12c-021bfd176d5b";
|
|
|
|
|
|
2020-02-07 03:52:17 +04:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/7294-A273";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
2020-08-06 23:34:37 +04:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-partuuid/e979f198-37c4-4a86-8138-e148c3d78447";
|
|
|
|
|
randomEncryption.enable = true;
|
|
|
|
|
}
|
|
|
|
|
];
|
2020-02-07 03:52:17 +04:00
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
}
|