hosts/dunamis: break up disko

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-03 13:29:11 +03:00
parent a349e3803d
commit 5393154b91
4 changed files with 86 additions and 85 deletions

View File

@ -0,0 +1,14 @@
{inputs, ...}: let
disk = "/dev/disk/by-id/nvme-eui.000000000000000100a075244b5d6185";
in {
imports = with inputs; [
disko.nixosModules.disko
];
disko.devices.nodev = {
"/tmp" = {
fsType = "tmpfs";
mountOptions = ["rw" "nosuid" "nodev"];
};
};
disko.devices.disk.main = import ./disk-main.nix {inherit disk;};
}