Add two new servers

This commit is contained in:
Bun 2025-06-06 14:54:14 -04:00
parent 26fd8569fe
commit 51044e15eb
25 changed files with 208 additions and 78 deletions

View file

@ -24,17 +24,11 @@
mountOptions = [ "umask=0077" ];
};
};
luks = {
main = {
size = "100%";
content = {
type = "luks";
name = "${config.networking.hostName}-disk";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {
type = "lvm_pv";
vg = "${config.networking.hostName}";
};
type = "lvm_pv";
vg = "${config.networking.hostName}";
};
};
};
@ -78,7 +72,7 @@
# Impermanence
"/persist" = {
mountpoint = "/persist";
mountOptions = [
mountOptions = [
"compress=zstd"
"ssd"
];
@ -90,7 +84,7 @@
};
};
swap = {
size = "8G";
size = "2G";
content = {
type = "swap";
discardPolicy = "both";