add deployment method: ssh

This commit is contained in:
Kiara Grouwstra 2025-08-10 13:18:44 +02:00
parent 27c59e1af8
commit 32e04beb06
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -2,7 +2,7 @@
inputs,
# sources,
lib,
# providers,
config,
...
}:
@ -28,7 +28,20 @@ let
{
implementation = requests: {
input = requests;
output = { };
output.ssh-host = {
ssh = {
host = "localhost";
username = "root";
authentication.password = "password";
};
nixos-configuration =
{ ... }:
{
users.users = config.resources.shell.login-shell.apply (
lib.filterAttrs (_name: value: value ? login-shell) requests
);
};
};
};
};
};