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
|
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" ]; };
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue