Felix Erklaerbaer Termin

This commit is contained in:
2023-06-30 09:02:00 +00:00
parent 92ed683b43
commit 2003e17fa4
16 changed files with 422 additions and 262 deletions
+31
View File
@@ -0,0 +1,31 @@
{ config, lib, pkgs, ... }:
# CHECK THIS OUT: https://github.com/nix-community/disko its kinda better but felix does not support it
{
boot.initrd.luks.devices."luks-drive" = {
name = "luks-drive";
device = "/dev/disk/by-partlabel/Crypt";
preLVM = true;
allowDiscards = true;
};
fileSystems."/" = {
device = "/dev/disk/by-label/thinkman-root";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/thinkman-bo";
fsType = "vfat";
};
fileSystems."/home" = {
device = "/dev/disk/by-label/thinkman-home";
fsType = "ext4";
};
swapDevices = [{
device = "/dev/disk/by-label/thinkman-swap";
}];
}