From 32e04beb06fb9250a416c2c4b72863de83c7790f Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 10 Aug 2025 13:18:44 +0200 Subject: [PATCH] add deployment method: ssh --- deployment/check/data-model/deployment.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/deployment/check/data-model/deployment.nix b/deployment/check/data-model/deployment.nix index 2074edc0..135b9944 100644 --- a/deployment/check/data-model/deployment.nix +++ b/deployment/check/data-model/deployment.nix @@ -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 + ); + }; + }; }; }; };