2020-02-17 17:00:59 +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-04-27 05:39:00 +04:00
|
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2020-04-27 05:39:00 +04:00
|
|
|
|
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
2021-10-22 18:03:41 +04:00
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
|
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
2020-02-17 17:00:59 +04:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-10-22 18:03:41 +04:00
|
|
|
|
fileSystems."/persist" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/7c16955c-8414-4971-bf37-6492e8c0cb61";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
neededForBoot = true;
|
|
|
|
|
};
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
2021-10-22 18:03:41 +04:00
|
|
|
|
boot.initrd.luks.devices."root".device =
|
|
|
|
|
"/dev/disk/by-uuid/234de44d-b2d4-44d0-a4e3-b3ef6b159424";
|
2020-02-28 11:43:35 +04:00
|
|
|
|
|
2021-10-22 18:03:41 +04:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/66D2-DC8B";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 8;
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
}
|