2024-03-01 23:18:30 +01:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
2024-01-09 23:50:24 +01:00
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
2024-03-01 23:18:30 +01:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
2024-01-09 23:50:24 +01:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2024-03-01 23:18:30 +01:00
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
2024-01-09 23:50:24 +01:00
|
|
|
|
];
|
|
|
|
|
|
2024-03-11 21:27:00 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
2024-01-09 23:50:24 +01:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2024-02-05 05:12:56 +01:00
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2024-01-09 23:50:24 +01:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2024-03-11 21:27:00 +01:00
|
|
|
|
{ device = "/dev/disk/by-uuid/8f47c564-523f-4eca-9644-69d2bed92f0a";
|
2024-02-11 10:51:40 +01:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-11 21:27:00 +01:00
|
|
|
|
boot.initrd.luks.devices."luks-4f3ec042-9a98-4e10-84b3-3e081b030d6e".device = "/dev/disk/by-uuid/4f3ec042-9a98-4e10-84b3-3e081b030d6e";
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/cb501f9a-6814-477f-b8d5-1a8aaba243a9";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."luks-9b120c21-77b6-4291-bee0-185c5a1e3682".device = "/dev/disk/by-uuid/9b120c21-77b6-4291-bee0-185c5a1e3682";
|
2024-02-11 10:51:40 +01:00
|
|
|
|
|
2024-03-01 23:18:30 +01:00
|
|
|
|
fileSystems."/boot" =
|
2024-03-11 21:27:00 +01:00
|
|
|
|
{ device = "/dev/disk/by-uuid/3B15-2EB6";
|
2024-03-01 23:18:30 +01:00
|
|
|
|
fsType = "vfat";
|
2024-01-09 23:50:24 +01:00
|
|
|
|
};
|
|
|
|
|
|
2024-03-02 22:09:30 +01:00
|
|
|
|
swapDevices = [ ];
|
2024-01-09 23:50: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;
|
2024-03-11 21:27:00 +01:00
|
|
|
|
# networking.interfaces.enp61s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp62s0.useDHCP = lib.mkDefault true;
|
2024-01-09 23:50:24 +01:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-02-05 05:12:56 +01:00
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2024-01-09 23:50:24 +01:00
|
|
|
|
}
|