Snapper: switch to new format
This commit is contained in:
parent
8483e70dd4
commit
0d6fc2da24
1 changed files with 15 additions and 24 deletions
|
|
@ -181,32 +181,23 @@ with lib; {
|
|||
services.snapper = {
|
||||
configs =
|
||||
let
|
||||
bertofExtraConfig = ''
|
||||
ALLOW_USERS="bertof"
|
||||
TIMELINE_CREATE=yes
|
||||
TIMELINE_CLEANUP=yes
|
||||
'';
|
||||
common = { extraConfig = bertofExtraConfig; };
|
||||
common = {
|
||||
ALLOW_USERS = [ "bertof" ];
|
||||
TIMELINE_CREATE = true;
|
||||
TIMELINE_CLEANUP = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
bertof_home = recursiveUpdate common { subvolume = "/home/bertof"; };
|
||||
bertof_music =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Musica"; };
|
||||
bertof_downloads =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Scaricati"; };
|
||||
bertof_images =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Immagini"; };
|
||||
bertof_videos =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Video"; };
|
||||
bertof_documents =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Documenti"; };
|
||||
bertof_games_ssd =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Giochi/SSD"; };
|
||||
bertof_games_sata =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Giochi/SATA"; };
|
||||
# bertof_games_hdd = recursiveUpdate common { subvolume = "/home/bertof/Giochi/HDD"; };
|
||||
bertof_git =
|
||||
recursiveUpdate common { subvolume = "/home/bertof/Documenti/Git"; };
|
||||
bertof_home = recursiveUpdate common { SUBVOLUME = "/home/bertof"; };
|
||||
bertof_music = recursiveUpdate common { SUBVOLUME = "/home/bertof/Musica"; };
|
||||
bertof_downloads = recursiveUpdate common { SUBVOLUME = "/home/bertof/Scaricati"; };
|
||||
bertof_images = recursiveUpdate common { SUBVOLUME = "/home/bertof/Immagini"; };
|
||||
bertof_videos = recursiveUpdate common { SUBVOLUME = "/home/bertof/Video"; };
|
||||
bertof_documents = recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti"; };
|
||||
bertof_games_ssd = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SSD"; };
|
||||
bertof_games_sata = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SATA"; };
|
||||
# bertof_games_hdd = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/HDD"; };
|
||||
bertof_git = recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti/Git"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue