add chungus filesystem

This commit is contained in:
Ingolf Wagner 2023-05-02 12:55:17 +02:00
parent 0cd8315913
commit b324102122
Signed by: palo
GPG key ID: 76BF5F1928B9618B
3 changed files with 20 additions and 4 deletions

View file

@ -141,6 +141,22 @@ in
"com.sun:auto-snapshot:daily" = "true,keep=32"; "com.sun:auto-snapshot:daily" = "true,keep=32";
}; };
}; };
"services" = {
type = "zfs_fs";
mountpoint = "/srv";
options = {
mountpoint = "legacy";
compression = "lz4";
};
};
"services/gitea" = {
type = "zfs_fs";
mountpoint = "/srv/gitea";
options = {
mountpoint = "legacy";
compression = "lz4";
};
};
}; };
}; };

View file

@ -1,4 +1,4 @@
{... }: { ... }:
{ {
sops.secrets.rsync_private_key = {}; sops.secrets.rsync_private_key = { };
} }

View file

@ -82,7 +82,7 @@
services.printing.enable = false; services.printing.enable = false;
services.smartd.enable = true; services.smartd.enable = true;
# chungus rsync # chungus rsync
users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ]; users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ];
fileSystems."/var/lib/nextcloud" = fileSystems."/var/lib/nextcloud" =
{ {