diff --git a/modules/hosts/janus.nix b/modules/hosts/janus.nix index ff5d364..985e7ff 100644 --- a/modules/hosts/janus.nix +++ b/modules/hosts/janus.nix @@ -16,7 +16,10 @@ in nixos.login-text { networking.hostName = hostname; - step-ssh-host.hostname = hostname; + step-ssh-host = { + hostname = hostname; + caURL = "https://janus.john-stream.com/"; + }; home-manager.users."${username}" = { imports = with inputs.self.modules.homeManager; [ diff --git a/modules/services/step-ca/ssh-host.nix b/modules/services/step-ca/ssh-host.nix index 63445e2..a936895 100644 --- a/modules/services/step-ca/ssh-host.nix +++ b/modules/services/step-ca/ssh-host.nix @@ -1,9 +1,4 @@ -{ inputs, ... }: -let - caURL = "https://janus.john-stream.com/"; - stepFingerprint = "2036c44f7b5901566ff7611ea6c927291ecc6d2dd00779c0eead70ec77fa10d6"; -in -{ +{ inputs, ... }: { flake.modules.nixos.step-ssh-host = { config, pkgs, lib, ... }: let cfg = config.step-ssh-host;