development ssh targets
This commit is contained in:
@@ -17,6 +17,7 @@ in
|
|||||||
appdaemon = lib.mkEnableOption "Enable AppDaemon SSH targets";
|
appdaemon = lib.mkEnableOption "Enable AppDaemon SSH targets";
|
||||||
certs = lib.mkEnableOption "Enable Janus and Soteria SSH targets";
|
certs = lib.mkEnableOption "Enable Janus and Soteria SSH targets";
|
||||||
homelab = lib.mkEnableOption "Enable various Homelab targets";
|
homelab = lib.mkEnableOption "Enable various Homelab targets";
|
||||||
|
dev = lib.mkEnableOption "Enable development targets";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -105,6 +106,13 @@ in
|
|||||||
user = "panoptes";
|
user = "panoptes";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(lib.mkIf config.ssh.matchSets.dev {
|
||||||
|
"test-nix" = {
|
||||||
|
hostname = "fded:fb16:653e:25da:be24:11ff:fea0:753f";
|
||||||
|
user = "john";
|
||||||
|
identityFile = identityFile;
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
certs = true;
|
certs = true;
|
||||||
appdaemon = true;
|
appdaemon = true;
|
||||||
homelab = true;
|
homelab = true;
|
||||||
|
dev = true;
|
||||||
};
|
};
|
||||||
shell.program = "zsh";
|
shell.program = "zsh";
|
||||||
sops.secrets."restic_password/john_ubuntu" = {
|
sops.secrets."restic_password/john_ubuntu" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user