Update hardware-configuration

This commit is contained in:
coolneng 2023-02-14 19:05:09 +01:00
parent b046b9d5a6
commit 52d7f68cf7
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 39 additions and 34 deletions

View File

@ -23,8 +23,18 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/vault" = fileSystems."/var/lib/containers" =
{ device = "vault"; { device = "vault/containers";
fsType = "zfs";
};
fileSystems."/var/lib/gitea" =
{ device = "vault/state_directories/gitea";
fsType = "zfs";
};
fileSystems."/var/lib/matrix-as-telegram" =
{ device = "vault/state_directories/matrix-as-telegram";
fsType = "zfs"; fsType = "zfs";
}; };
@ -38,33 +48,13 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/var/lib/matrix-as-telegram" =
{ device = "vault/state_directories/matrix-as-telegram";
fsType = "zfs";
};
fileSystems."/var/lib/containers" =
{ device = "vault/containers";
fsType = "zfs";
};
fileSystems."/var/lib/wallabag" = fileSystems."/var/lib/wallabag" =
{ device = "vault/state_directories/wallabag"; { device = "vault/state_directories/wallabag";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/var/lib/gitea" = fileSystems."/vault" =
{ device = "vault/state_directories/gitea"; { device = "vault";
fsType = "zfs";
};
fileSystems."/var/lib/signald" =
{ device = "vault/state_directories/signald";
fsType = "zfs";
};
fileSystems."/vault/syncthing" =
{ device = "vault/syncthing";
fsType = "zfs"; fsType = "zfs";
}; };
@ -78,11 +68,16 @@
fsType = "tmpfs"; fsType = "tmpfs";
}; };
fileSystems."/vault/git" = fileSystems."/var/lib/signald" =
{ device = "vault/git"; { device = "vault/state_directories/signald";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/var/lib/containers/storage/zfs-containers/1dece57fa7124ac19a7f9b1b97b32d1ea137775ec33a35375741f3e74be3e85e/userdata/shm" =
{ device = "shm";
fsType = "tmpfs";
};
fileSystems."/var/lib/containers/storage/zfs-containers/522343abee32edddd051c93a47bc7d2208e0bbcef724e4c4319cbbc49f5d361d/userdata/shm" = fileSystems."/var/lib/containers/storage/zfs-containers/522343abee32edddd051c93a47bc7d2208e0bbcef724e4c4319cbbc49f5d361d/userdata/shm" =
{ device = "shm"; { device = "shm";
fsType = "tmpfs"; fsType = "tmpfs";
@ -93,8 +88,13 @@
fsType = "tmpfs"; fsType = "tmpfs";
}; };
fileSystems."/vault/backups" = fileSystems."/vault/git" =
{ device = "vault/backups"; { device = "vault/git";
fsType = "zfs";
};
fileSystems."/vault/syncthing" =
{ device = "vault/syncthing";
fsType = "zfs"; fsType = "zfs";
}; };
@ -103,8 +103,8 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups/zion" = fileSystems."/vault/backups" =
{ device = "vault/backups/zion"; { device = "vault/backups";
fsType = "zfs"; fsType = "zfs";
}; };
@ -113,18 +113,23 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups/zion" =
{ device = "vault/backups/zion";
fsType = "zfs";
};
fileSystems."/vault/backups/zion/databases" = fileSystems."/vault/backups/zion/databases" =
{ device = "vault/backups/zion/databases"; { device = "vault/backups/zion/databases";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/var/lib/containers/storage/zfs-containers/1dece57fa7124ac19a7f9b1b97b32d1ea137775ec33a35375741f3e74be3e85e/userdata/shm" = fileSystems."/var/lib/containers/storage/zfs-containers/18aaf1ac7583433d84488ea6594032549dc37d959751c096780f03cfa8a31ae7/userdata/shm" =
{ device = "shm"; { device = "shm";
fsType = "tmpfs"; fsType = "tmpfs";
}; };
fileSystems."/var/lib/containers/storage/zfs/graph/55d4a7a3d27c0581144429911443c5b08fee9f6ff23a800d6a943267dbb5cdfd" = fileSystems."/var/lib/containers/storage/zfs/graph/9aa4f86c914c513dc7b9ac213850d9f011668f4fd8757c6dcccae60e89eac623" =
{ device = "vault/containers/55d4a7a3d27c0581144429911443c5b08fee9f6ff23a800d6a943267dbb5cdfd"; { device = "vault/containers/9aa4f86c914c513dc7b9ac213850d9f011668f4fd8757c6dcccae60e89eac623";
fsType = "zfs"; fsType = "zfs";
}; };
@ -137,7 +142,7 @@
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.cni-podman0.useDHCP = lib.mkDefault true; # networking.interfaces.cni-podman0.useDHCP = lib.mkDefault true;
# networking.interfaces.eth0.useDHCP = lib.mkDefault true; # networking.interfaces.eth0.useDHCP = lib.mkDefault true;
# networking.interfaces.veth3fa9be3c.useDHCP = lib.mkDefault true; # networking.interfaces.vethede24a17.useDHCP = lib.mkDefault true;
# networking.interfaces.wg0.useDHCP = lib.mkDefault true; # networking.interfaces.wg0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true; # networking.interfaces.wlan0.useDHCP = lib.mkDefault true;