Files
dendritic/modules/programs/step-client.nix
2026-03-14 12:46:55 -05:00

22 lines
621 B
Nix

{ inputs, ... }:
{
flake.modules.nixos.step-client = { pkgs, config, ... }: {
imports = with inputs.self.modules.nixos; [ ssh ];
ssh.certificates = true;
home-manager.sharedModules = with inputs.self.modules; [
homeManager.step-client
];
sops.secrets."janus/fingerprint" = { };
};
flake.modules.homeManager.step-client = { pkgs, ... }: {
home.packages = with pkgs; [
step-cli
(writeShellScriptBin "check-ssh" ''
set -euo pipefail
bash <(curl -sL https://gitea.john-stream.com/john/janus/raw/branch/main/scripts/ssh-server-check.sh)
'')
];
};
}