feat: add iso and readme

This commit is contained in:
2025-04-28 22:47:03 +02:00
parent 45a60ff746
commit 8bdbbcd21c
4 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ config, pkgs, ... }: {
boot.loader.systemd-boot.enable = true;
fileSystems."/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
};
boot.initrd.luks.devices.root = {
device = "/dev/disk/by-label/root";
# WARNING: Leaks some metadata, see cryptsetup man page for --allow-discards.
allowDiscards = true;
# Set your own key with:
# cryptsetup luksChangeKey /dev/disk/by-label/root --key-file=/dev/zero --keyfile-size=1
# You can then delete the rest of this block.
keyFile = "/dev/zero";
keyFileSize = 1;
};
fileSystems."/" = {
device = "/dev/mapper/root";
fsType = "ext4";
};
}