Heimdall: snapper
This commit is contained in:
parent
116639cb1a
commit
2b11802c48
1 changed files with 10 additions and 10 deletions
|
|
@ -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" ]; };
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue