vanadium: rename mount point to "four"

This commit is contained in:
Primrose 2025-02-01 13:49:27 +01:00
parent fa9b4508d5
commit aba2ee6df5
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
6 changed files with 17 additions and 17 deletions

View file

@ -22,7 +22,7 @@
];
};
"seagate" = {
"four" = {
paths = [
"/home/leana/Music"
"/home/leana/Documents"
@ -30,8 +30,8 @@
"/home/leana/Images"
];
repository = "/mnt/seagate/restic";
passwordFile = config.age.secrets.restic_seagate_pwd.path;
repository = "/mnt/four/restic";
passwordFile = config.age.secrets.restic_four_pwd.path;
timerConfig = {
OnCalendar = "02:00";
@ -50,11 +50,11 @@
# TODO:
# Wait for upstream to introduce direct access to unitConfig
# c.f. https://github.com/NixOS/nixpkgs/pull/368234
systemd.services."restic-backups-seagate" = {
requires = [ "mnt-seagate.mount" ];
after = [ "mnt-seagate.mount" ];
systemd.services."restic-backups-four" = {
requires = [ "mnt-four.mount" ];
after = [ "mnt-four.mount" ];
unitConfig = {
PropagatesStopTo = [ "mnt-seagate.mount" ];
PropagatesStopTo = [ "mnt-four.mount" ];
};
};