mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: rename mount point to "four"
This commit is contained in:
parent
fa9b4508d5
commit
aba2ee6df5
6 changed files with 17 additions and 17 deletions
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue