47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
# 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.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||
|
||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/7318645d-7122-4363-88e5-6e4be313e6ac";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/2843-89B6";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
boot.initrd.luks.devices."luks-home".device = "/dev/disk/by-uuid/4ce47f71-d252-4c97-9d55-961d8ad8b77d";
|
||
fileSystems."/home" = {
|
||
device = "/dev/mapper/luks-home";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
boot.initrd.luks.devices."luks-data".device = "/dev/disk/by-uuid/b03545ec-59b2-436f-8c7a-7a8fd9fd1b4f";
|
||
fileSystems."/mnt/data" = {
|
||
device = "/dev/mapper/data-daten";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
swapDevices = [{
|
||
device = "/var/lib/swapfile";
|
||
size = 16*1024;
|
||
}];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|
||
|