2023-11-02 11:10:24 +01: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.
|
2024-03-30 20:18:12 +01:00
|
|
|
|
{ config, lib, modulesPath, ... }:
|
2023-11-02 11:10:24 +01:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2023-11-09 10:52:04 +01:00
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2023-11-02 11:10:24 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2023-11-09 10:52:04 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/f7072a83-0478-48ea-9f55-074541c1c524";
|
2023-11-02 11:10:24 +01:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/56dc5a16-94ca-4a9c-a215-51ed55aec6b5";
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2023-11-09 10:52:04 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/9331-9E52";
|
2023-11-02 11:10:24 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2023-11-09 10:52:04 +01:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/63debceb-44e6-4e27-94df-092dd59fd9e2"; }];
|
2023-11-02 11:10:24 +01:00
|
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
# networking.interfaces.enp0s13f0u4u4u4.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|