jsl-zsh working as a login shell

This commit is contained in:
John Lancaster
2026-07-02 20:11:49 -05:00
parent 621a61fb9e
commit 460d8908bb
3 changed files with 32 additions and 23 deletions
+9 -3
View File
@@ -5,7 +5,7 @@ let
in
{
flake.modules.nixos.janus-ca =
{ config, lib, ... }:
{ config, pkgs, lib, ... }:
let
cfg = config.janus-ca;
johnHome = lib.attrByPath [ "users" "users" username "home" ] "/home/${username}" config;
@@ -58,7 +58,7 @@ in
nixos.docker
nixos.login-text
nixos.mtls
{
({ lib, pkgs, ... }: {
networking.hostName = hostname;
sops.defaultSopsFile = ../../../keys/secrets.yaml;
step-ssh-host = {
@@ -77,6 +77,12 @@ in
];
};
users.users."${username}" = {
shell = lib.mkForce (
lib.getExe inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.jsl-zsh
);
};
# users.users."${username}".openssh.authorizedKeys.keys = [
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMOkGLo4N/L3RYvaIZ1FmePlxa1HK0fMciZxKtRhN58F root@janus"
# ];
@@ -87,7 +93,7 @@ in
];
docker.enable = true;
};
}
})
];
};
}