2025-02-02 20:49:01 +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.
|
|
|
|
|
{
|
2025-02-02 21:36:53 +01:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2025-02-02 20:49:01 +01:00
|
|
|
|
|
2025-02-02 21:36:53 +01:00
|
|
|
|
boot.initrd.availableKernelModules = ["uhci_hcd" "ehci_pci" "ahci" "firewire_ohci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = [];
|
|
|
|
|
boot.extraModulePackages = [];
|
2025-02-02 20:49:01 +01:00
|
|
|
|
|
2025-02-02 21:36:53 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/e867382a-7ecb-4a93-bf7c-c972be061180";
|
|
|
|
|
fsType = "btrfs";
|
2025-02-10 09:51:21 +01:00
|
|
|
|
options = ["subvol=@" "compress=zstd:5" "discard=async"];
|
2025-02-02 21:36:53 +01:00
|
|
|
|
};
|
2025-02-02 20:49:01 +01:00
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."luks-7aa6742e-020d-49aa-a458-78ea5c3b85f8".device = "/dev/disk/by-uuid/7aa6742e-020d-49aa-a458-78ea5c3b85f8";
|
|
|
|
|
|
2025-02-02 21:36:53 +01:00
|
|
|
|
swapDevices = [];
|
2025-02-02 20:49:01 +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.enp0s25.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp12s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|