mobi: add some more configuration which was missing

This commit is contained in:
Ingolf Wagner 2020-01-25 09:07:20 +13:00
parent df32116996
commit b7708cd880
Signed by: palo
GPG key ID: 76BF5F1928B9618B
4 changed files with 20 additions and 3 deletions

View file

@ -5,6 +5,7 @@
<system/desktop> <system/desktop>
./hardware-configuration.nix ./hardware-configuration.nix
./restic.nix
./tinc.nix ./tinc.nix
]; ];

7
configs/mobi/restic.nix Normal file
View file

@ -0,0 +1,7 @@
{
backup.services.restic = {
"on-porani.private".enable = false;
"on-workhorse.private".enable = false;
"on-workout.private".enable = false;
};
}

View file

@ -56,6 +56,14 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPlva+Vdj8WmQPlbQLN3qicMz5AAsyTzK53BincxtAz"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPlva+Vdj8WmQPlbQLN3qicMz5AAsyTzK53BincxtAz";
}; };
"mobi.private" = {
hostNames = [
"mobi.private"
config.module.cluster.services.tinc.private.hosts.mobi.tincIp
];
publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGhBtcipW9rV6hHS2hv5tl5hd8vW8dnuFfFwnAs2u0kS";
};
"cracksucht.de" = { "cracksucht.de" = {
hostNames = [ "cracksucht.de" ]; hostNames = [ "cracksucht.de" ];
publicKey = publicKey =

View file

@ -1,9 +1,10 @@
{ lib, ... }:
{ {
backup.services.restic = { backup.services.restic = {
"on-porani.private".enable = true; "on-porani.private".enable = lib.mkDefault true;
"on-workhorse.private".enable = true; "on-workhorse.private".enable = lib.mkDefault true;
"on-workout.private".enable = true; "on-workout.private".enable = lib.mkDefault true;
}; };
backup.all.restic.dirs = [ "/home/palo/.password-store" ]; backup.all.restic.dirs = [ "/home/palo/.password-store" ];