2023-02-13 18:40:56 +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-08-29 03:26:04 +02:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
|
|
|
|
{
|
2024-08-29 03:26:04 +02:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
2024-08-29 03:26:04 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"thunderbolt"
|
|
|
|
|
"nvme"
|
|
|
|
|
"usb_storage"
|
|
|
|
|
"uas"
|
|
|
|
|
"sd_mod"
|
|
|
|
|
];
|
2023-02-13 18:40:56 +01:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
|
pool = {
|
|
|
|
|
device = "/dev/nvme0n1p2";
|
|
|
|
|
preLVM = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-08-29 03:26:04 +02:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/48228fad-8123-4e87-9c70-2e4c204d7a49";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
2024-08-29 03:26:04 +02:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/13A0-D756";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
2024-08-29 03:26:04 +02:00
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/d73dd71d-9f0f-4c49-8267-9ad7e3f01ff1";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
2023-09-19 12:17:46 +02:00
|
|
|
|
#fileSystems."/removable" =
|
|
|
|
|
# {
|
|
|
|
|
# device = "/dev/disk/by-uuid/081de08c-b080-4a05-9915-235caae193e7";
|
|
|
|
|
# fsType = "ext4";
|
|
|
|
|
# };
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
|
|
|
|
fileSystems."/share" = {
|
|
|
|
|
device = "none";
|
|
|
|
|
fsType = "tmpfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/browsers" = {
|
|
|
|
|
device = "none";
|
|
|
|
|
fsType = "tmpfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2023-02-16 13:52:15 +01:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
2023-02-13 18:40:56 +01:00
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-02-16 13:52:15 +01:00
|
|
|
|
|
2023-02-13 18:40:56 +01:00
|
|
|
|
}
|