removed default for principals option
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user