backups: got the backup configed, but fecked up the networking
This commit is contained in:
parent
ccf78c06a4
commit
0e9a44f67c
4 changed files with 58 additions and 4 deletions
|
@ -20,9 +20,21 @@ let
|
|||
|
||||
in {
|
||||
imports = [
|
||||
./hardware/RM007.nix
|
||||
../applications/restic.nix
|
||||
];
|
||||
|
||||
|
||||
networking.hostName = name;
|
||||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking.interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
prefixLength = 26;
|
||||
}
|
||||
];
|
||||
|
||||
deployment = {
|
||||
targetHost = hostname;
|
||||
targetPort = 22;
|
||||
|
@ -42,7 +54,9 @@ in {
|
|||
};
|
||||
|
||||
services.skynet_backup = {
|
||||
normal.backups = ["/etc/skynet"];
|
||||
normal.backups = [
|
||||
#"/etc/skynet"
|
||||
];
|
||||
|
||||
|
||||
host = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue