containers/backup-target: init
This container is used as a backup target for backing up the other container volumes.
This commit is contained in:
parent
2d2afedf29
commit
6eb4e96b09
4 changed files with 77 additions and 10 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
let
|
||||
keys = import ../../../variables/keys.nix;
|
||||
passwords = import ../../../variables/passwords.crypt.nix;
|
||||
|
||||
in {
|
||||
# TASK: new device
|
||||
|
@ -106,13 +107,10 @@ in {
|
|||
networking.useHostResolvConf = true;
|
||||
|
||||
containers = {
|
||||
backup = import ../../containers/backup.nix {
|
||||
inherit config;
|
||||
hostAddress = "192.168.100.16";
|
||||
localAddress = "192.168.100.17";
|
||||
subvolumes = [
|
||||
"backup"
|
||||
];
|
||||
bkpTarget = import ../../containers/backup-target.nix {
|
||||
hostAddress = "192.168.100.18";
|
||||
localAddress = "192.168.100.19";
|
||||
containerBackupCfg = passwords.storage.backupTarget;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue