2022-08-20 11:34:41 +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.
|
2023-05-04 13:06:08 +02:00
|
|
|
|
{ config, lib, modulesPath, ... }:
|
2022-08-20 11:34:41 +02:00
|
|
|
|
|
|
|
|
|
{
|
2023-05-04 13:08:10 +02:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-09-25 11:56:02 +02:00
|
|
|
|
boot = {
|
2022-08-20 11:34:41 +02:00
|
|
|
|
|
2023-09-25 11:56:02 +02:00
|
|
|
|
initrd.availableKernelModules =
|
|
|
|
|
[ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ];
|
|
|
|
|
initrd.kernelModules = [ ];
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
extraModulePackages = [ ];
|
2023-05-04 13:08:10 +02:00
|
|
|
|
};
|
2023-09-25 11:56:02 +02:00
|
|
|
|
fileSystems = {
|
|
|
|
|
|
|
|
|
|
"/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=@" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/nix" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=@/nix" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=@home" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/boot/efi" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/D478-6F66";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2023-05-04 13:08:10 +02:00
|
|
|
|
};
|
2022-08-20 11:34:41 +02:00
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
2022-10-08 16:34:25 +02:00
|
|
|
|
# networking.interfaces.wg0.useDHCP = lib.mkDefault true;
|
2022-08-20 12:55:59 +02:00
|
|
|
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
2022-08-20 11:34:41 +02:00
|
|
|
|
|
2022-10-08 16:34:25 +02:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2022-08-20 11:34:41 +02:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2023-05-04 13:08:10 +02:00
|
|
|
|
hardware.cpu.intel.updateMicrocode =
|
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2022-08-20 11:34:41 +02:00
|
|
|
|
}
|