2022-05-25 19:27:42 +02: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 =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2022-05-25 19:27:42 +02:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
2022-05-25 19:27:42 +02:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=root" "noatime" "compress=zstd" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."nixos-crypt".device = "/dev/disk/by-uuid/dbee4082-85ae-40f0-9c80-034f3574688f";
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/4B02-CE16";
|
2022-05-25 19:27:42 +02:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
2022-05-25 19:27:42 +02:00
|
|
|
|
fsType = "btrfs";
|
2022-06-11 23:28:31 +02:00
|
|
|
|
options = [ "subvol=home" "noatime" "compress=zstd" ];
|
2022-05-25 19:27:42 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
2022-05-25 19:27:42 +02:00
|
|
|
|
fsType = "btrfs";
|
2022-06-11 23:28:31 +02:00
|
|
|
|
options = [ "subvol=nix" "noatime" "compress=zstd" ];
|
2022-05-25 19:27:42 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/tmp" =
|
2022-06-11 23:28:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
2022-05-25 19:27:42 +02:00
|
|
|
|
fsType = "btrfs";
|
2022-06-11 23:28:31 +02:00
|
|
|
|
options = [ "subvol=tmp" "noatime" "compress=zstd" ];
|
2022-05-25 19:27:42 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
|
|
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
|
|
|
# replicates the default behaviour.
|
|
|
|
|
networking.useDHCP = lib.mkDefault false;
|
|
|
|
|
networking.interfaces.enp53s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
networking.interfaces.wlp54s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|