2018-02-08 22:16:23 +00: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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2019-07-31 21:56:52 +00:00
|
|
|
|
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
2018-02-08 22:16:23 +00:00
|
|
|
|
|
2020-04-18 10:16:35 +00:00
|
|
|
|
boot = {
|
|
|
|
|
loader = {
|
|
|
|
|
efi = {
|
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
|
efiSysMountPoint = "/boot/EFI";
|
|
|
|
|
};
|
|
|
|
|
grub = {
|
|
|
|
|
enable = true;
|
|
|
|
|
version = 2;
|
|
|
|
|
device = "nodev";
|
|
|
|
|
efiSupport = true;
|
|
|
|
|
enableCryptodisk = true;
|
|
|
|
|
gfxmodeEfi = "1024x768";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
initrd = {
|
|
|
|
|
luks.devices."nixos".device =
|
|
|
|
|
"/dev/disk/by-uuid/78acaebe-952a-43b1-acc8-66c35a60577e";
|
|
|
|
|
availableKernelModules =
|
|
|
|
|
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
};
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
supportedFilesystems = [ "exfat" ];
|
2019-07-31 21:56:52 +00:00
|
|
|
|
};
|
2018-02-08 22:16:23 +00:00
|
|
|
|
|
2020-04-18 10:16:35 +00:00
|
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/ce5b0ac6-6eaf-45a6-b6c8-bd4958caf335";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
};
|
|
|
|
|
"/boot/EFI" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/C4A6-3DB5";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2019-07-31 21:56:52 +00:00
|
|
|
|
};
|
2018-02-08 22:16:23 +00:00
|
|
|
|
|
2018-10-01 15:45:44 +00:00
|
|
|
|
swapDevices =
|
2019-07-31 21:56:52 +00:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/b80468d0-d834-419f-8985-c6fa2274909e"; }];
|
2018-02-08 22:16:23 +00:00
|
|
|
|
|
2018-10-01 15:45:44 +00:00
|
|
|
|
nix.maxJobs = lib.mkDefault 8;
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
2018-02-08 22:16:23 +00:00
|
|
|
|
}
|