WIP: loki recovery

This commit is contained in:
Filippo Berto 2023-12-05 22:50:48 +01:00
parent c7b4aed8c6
commit 3108562c8c
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -203,20 +203,20 @@ with lib; {
# jellyfin.extraGroups = [ "video" ];
};
services.snapper = {
configs =
let
common = {
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
};
in
{
bertof = recursiveUpdate common { SUBVOLUME = "/home/bertof/"; ALLOW_USERS = [ "bertof" ]; };
tiziano = recursiveUpdate common { SUBVOLUME = "/home/tiziano/"; ALLOW_USERS = [ "tiziano" ]; };
condiviso = recursiveUpdate common { SUBVOLUME = "/mnt/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; };
};
};
# services.snapper = {
# configs =
# let
# common = {
# TIMELINE_CREATE = true;
# TIMELINE_CLEANUP = true;
# };
# in
# {
# bertof = recursiveUpdate common { SUBVOLUME = "/home/bertof/"; ALLOW_USERS = [ "bertof" ]; };
# tiziano = recursiveUpdate common { SUBVOLUME = "/home/tiziano/"; ALLOW_USERS = [ "tiziano" ]; };
# condiviso = recursiveUpdate common { SUBVOLUME = "/mnt/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; };
# };
# };
networking.firewall = {
enable = true;