add dn-server

This commit is contained in:
DACHXY 2025-03-15 20:07:06 +08:00
parent a304926231
commit 735228acb6
17 changed files with 485 additions and 2 deletions

View file

@ -0,0 +1,34 @@
{ lib, ... }:
{
disko.devices = {
disk = {
main = {
device = "/dev/disk/by-id/md-uuid-f3c41e6f:7e27b57f:8b44503a:42538a51";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}