Switch to nixpkgs-fmt formatter
This commit is contained in:
parent
36f6903639
commit
ca59cb8f3c
45 changed files with 695 additions and 606 deletions
|
|
@ -171,33 +171,35 @@ with lib; {
|
|||
|
||||
services.smartd.enable = true;
|
||||
services.snapper = {
|
||||
configs = let
|
||||
bertofExtraConfig = ''
|
||||
ALLOW_USERS="bertof"
|
||||
TIMELINE_CREATE=yes
|
||||
TIMELINE_CLEANUP=yes
|
||||
'';
|
||||
common = { extraConfig = bertofExtraConfig; };
|
||||
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"; };
|
||||
};
|
||||
configs =
|
||||
let
|
||||
bertofExtraConfig = ''
|
||||
ALLOW_USERS="bertof"
|
||||
TIMELINE_CREATE=yes
|
||||
TIMELINE_CLEANUP=yes
|
||||
'';
|
||||
common = { extraConfig = bertofExtraConfig; };
|
||||
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"; };
|
||||
};
|
||||
};
|
||||
|
||||
services.dbus = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue