removed default for principals option

This commit is contained in:
John Lancaster
2026-03-15 16:21:02 -05:00
parent 6315ac0143
commit 3339cd6b0c
2 changed files with 7 additions and 1 deletions

View File

@@ -19,9 +19,15 @@ in
home-manager.users."${username}" = { home-manager.users."${username}" = {
imports = with inputs.self.modules.homeManager; [ imports = with inputs.self.modules.homeManager; [
sops sops
step-ssh-user
]; ];
shell.program = "zsh"; shell.program = "zsh";
docker.enable = true; docker.enable = true;
step-ssh-user = {
enable = true;
principals = [ "${hostname}" ];
};
ssh.matchSets = { ssh.matchSets = {
certs = true; certs = true;
homelab = true; homelab = true;

View File

@@ -107,7 +107,7 @@ in
}; };
principals = lib.mkOption { principals = lib.mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;
default = [ ]; # default = [ ];
}; };
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {