50 lines
1.3 KiB
Nix
50 lines
1.3 KiB
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, ... }:
|
||
|
||
{
|
||
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
||
|
||
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" ];
|
||
};
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "/dev/disk/by-uuid/ce5b0ac6-6eaf-45a6-b6c8-bd4958caf335";
|
||
fsType = "btrfs";
|
||
};
|
||
"/boot/EFI" = {
|
||
device = "/dev/disk/by-uuid/C4A6-3DB5";
|
||
fsType = "vfat";
|
||
};
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/b80468d0-d834-419f-8985-c6fa2274909e"; }];
|
||
|
||
nix.maxJobs = lib.mkDefault 8;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||
}
|