mobi: add some more configuration which was missing
This commit is contained in:
parent
df32116996
commit
b7708cd880
4 changed files with 20 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
<system/desktop>
|
||||
./hardware-configuration.nix
|
||||
|
||||
./restic.nix
|
||||
./tinc.nix
|
||||
|
||||
];
|
||||
|
|
7
configs/mobi/restic.nix
Normal file
7
configs/mobi/restic.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
backup.services.restic = {
|
||||
"on-porani.private".enable = false;
|
||||
"on-workhorse.private".enable = false;
|
||||
"on-workout.private".enable = false;
|
||||
};
|
||||
}
|
|
@ -56,6 +56,14 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPlva+Vdj8WmQPlbQLN3qicMz5AAsyTzK53BincxtAz";
|
||||
|
||||
};
|
||||
"mobi.private" = {
|
||||
hostNames = [
|
||||
"mobi.private"
|
||||
config.module.cluster.services.tinc.private.hosts.mobi.tincIp
|
||||
];
|
||||
publicKey =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGhBtcipW9rV6hHS2hv5tl5hd8vW8dnuFfFwnAs2u0kS";
|
||||
};
|
||||
"cracksucht.de" = {
|
||||
hostNames = [ "cracksucht.de" ];
|
||||
publicKey =
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
|
||||
backup.services.restic = {
|
||||
"on-porani.private".enable = true;
|
||||
"on-workhorse.private".enable = true;
|
||||
"on-workout.private".enable = true;
|
||||
"on-porani.private".enable = lib.mkDefault true;
|
||||
"on-workhorse.private".enable = lib.mkDefault true;
|
||||
"on-workout.private".enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
backup.all.restic.dirs = [ "/home/palo/.password-store" ];
|
||||
|
|
Loading…
Reference in a new issue