From ce6a46b5a8f45b8e51c1d8e81e8bb54fb416a108 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Fri, 20 Jun 2025 19:04:39 +0200 Subject: [PATCH] migrate to clan instances --- machines/flake-module.nix | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/machines/flake-module.nix b/machines/flake-module.nix index 324f9ed..87eb989 100644 --- a/machines/flake-module.nix +++ b/machines/flake-module.nix @@ -31,19 +31,23 @@ }; roles.peer.tags."all" = { }; }; - }; - inventory.services = { - sshd.default = { - roles.server.tags = [ "all" ]; + "sshd" = { + module.input = "clan-core"; + module.name = "sshd"; + roles.server.tags.all = { }; + }; + + "rpqt-password-haze" = { + module.input = "clan-core"; + module.name = "users"; + roles.default.machines.haze = { + settings = { + prompt = false; + user = "rpqt"; + }; + }; }; - user-password.rpqt = { - roles.default.machines = [ - "crocus" - "genepi" - "haze" - ]; - config.user = "rpqt"; }; }; };