Heimdall: snapper

This commit is contained in:
Filippo Berto 2024-06-25 00:24:59 +02:00
parent 116639cb1a
commit 2b11802c48
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, lib, config, ... }:
let let
hosts = import ../../hosts.nix; hosts = import ../../hosts.nix;
in in
@ -357,15 +357,15 @@ in
retentionTime = "15d"; retentionTime = "15d";
}; };
# snapper.configs = snapper.configs =
# let let
# common = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; }; common = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; };
# in in
# { {
# bertof = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/bertof/"; ALLOW_USERS = [ "bertof" ]; }; bertof = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/bertof/"; ALLOW_USERS = [ "bertof" ]; };
# tiziano = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/tiziano/"; ALLOW_USERS = [ "tiziano" ]; }; tiziano = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/tiziano/"; ALLOW_USERS = [ "tiziano" ]; };
# condiviso = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; }; condiviso = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; };
# }; };
}; };