diff --git a/instances/heimdall/configuration.nix b/instances/heimdall/configuration.nix index d572e03..0616bcf 100644 --- a/instances/heimdall/configuration.nix +++ b/instances/heimdall/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ pkgs, lib, config, ... }: let hosts = import ../../hosts.nix; in @@ -357,15 +357,15 @@ in retentionTime = "15d"; }; - # snapper.configs = - # let - # common = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; }; - # in - # { - # bertof = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/bertof/"; ALLOW_USERS = [ "bertof" ]; }; - # tiziano = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/tiziano/"; ALLOW_USERS = [ "tiziano" ]; }; - # condiviso = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; }; - # }; + snapper.configs = + let + common = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; }; + in + { + bertof = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/bertof/"; ALLOW_USERS = [ "bertof" ]; }; + tiziano = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/tiziano/"; ALLOW_USERS = [ "tiziano" ]; }; + condiviso = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; }; + }; };