nix fmt
This commit is contained in:
parent
64d806a576
commit
60c8a2af3c
3 changed files with 13 additions and 10 deletions
|
@ -57,7 +57,7 @@
|
|||
weekly = 4;
|
||||
monthly = -1;
|
||||
};
|
||||
extraPruneArgs = ["--stats"];
|
||||
extraPruneArgs = [ "--stats" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
serviceConfig = {
|
||||
Type = "notify";
|
||||
ExecStartPre = "/usr/bin/env mkdir -p /mnt/photos";
|
||||
ExecStart = "${pkgs.rclone}/bin/rclone mount --config ${config.sops.secrets."rclone/config".path} --cache-dir /var/cache/rclone --transfers=32 --dir-cache-time 72h --vfs-cache-mode writes --vfs-cache-max-size 2G photos: /mnt/photos ";
|
||||
ExecStart = "${pkgs.rclone}/bin/rclone mount --config ${
|
||||
config.sops.secrets."rclone/config".path
|
||||
} --cache-dir /var/cache/rclone --transfers=32 --dir-cache-time 72h --vfs-cache-mode writes --vfs-cache-max-size 2G photos: /mnt/photos ";
|
||||
ExecStop = "${pkgs.fuse}/bin/fusermount -u /mnt/photos";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -238,7 +238,7 @@
|
|||
weekly = 4;
|
||||
monthly = -1;
|
||||
};
|
||||
extraPruneArgs = ["--stats"];
|
||||
extraPruneArgs = [ "--stats" ];
|
||||
};
|
||||
|
||||
services.btrbk.instances.local = {
|
||||
|
@ -258,7 +258,8 @@
|
|||
};
|
||||
};
|
||||
# only create snapshots automatically. backups are triggered manually
|
||||
systemd.services."btrbk-local".serviceConfig.ExecStart = lib.mkForce "${pkgs.btrbk}/bin/btrbk -c /etc/btrbk/local.conf snapshot";
|
||||
systemd.services."btrbk-local".serviceConfig.ExecStart =
|
||||
lib.mkForce "${pkgs.btrbk}/bin/btrbk -c /etc/btrbk/local.conf snapshot";
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue