Snapper on Loki
This commit is contained in:
parent
cb88eef2a2
commit
47e99ede4f
1 changed files with 33 additions and 14 deletions
|
|
@ -202,20 +202,39 @@
|
||||||
jellyfin.extraGroups = [ "video" ];
|
jellyfin.extraGroups = [ "video" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.snapper = {
|
services.snapper = {
|
||||||
# configs =
|
configs =
|
||||||
# let
|
let
|
||||||
# bertofExtraConfig = ''
|
commonExtraConfig = ''
|
||||||
# ALLOW_USERS="bertof"
|
ALLOW_USERS="bertof"
|
||||||
# TIMELINE_CREATE=yes
|
TIMELINE_CREATE=yes
|
||||||
# TIMELINE_CLEANUP=yes
|
TIMELINE_CLEANUP=yes
|
||||||
# '';
|
'';
|
||||||
# common = { extraConfig = bertofExtraConfig; };
|
in
|
||||||
# in
|
{
|
||||||
# {
|
bertof_raid0 = {
|
||||||
# bertof_home = common // { subvolume = "/home/bertof"; };
|
subvolume = "/mnt/raid0/bertof";
|
||||||
# };
|
extraConfig = ''
|
||||||
# };
|
ALLOW_USERS="bertof"
|
||||||
|
${commonExtraConfig}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
tiziano_raid0 = {
|
||||||
|
subvolume = "/mnt/raid0/tiziano";
|
||||||
|
extraConfig = ''
|
||||||
|
ALLOW_USERS="tiziano"
|
||||||
|
${commonExtraConfig}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
condiviso_raid0 = {
|
||||||
|
subvolume = "/mnt/raid0/condiviso";
|
||||||
|
extraConfig = ''
|
||||||
|
ALLOW_USERS="bertof tiziano"
|
||||||
|
${commonExtraConfig}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
systemd.packages = with pkgs; [ syncthing ];
|
systemd.packages = with pkgs; [ syncthing ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue