Reinstall inspiron with luks encryption

This commit is contained in:
SebastianStork 2024-08-05 12:38:35 +02:00
parent 741ae7ad3c
commit 4d97c46219
3 changed files with 74 additions and 14 deletions

View file

@ -1,26 +1,20 @@
{ inputs, ... }:
{
fileSystems."/" = {
device = "/dev/disk/by-uuid/92437114-de06-4a78-9ee3-c7d0ffcabf95";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/D8B4-1218";
fsType = "vfat";
};
swapDevices = [ { device = "/dev/disk/by-uuid/1eba93d1-4853-4534-8cfd-5c14e29c6ff6"; } ];
imports = [
inputs.disko.nixosModules.default
./disko.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
boot.kernelModules = [ "kvm-amd" ];
boot.initrd.kernelModules = [ "usb_storage" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
"sd_mod"
];
zramSwap.enable = true;