adding authentik

This commit is contained in:
2024-11-03 11:44:00 -06:00
parent e81b3a3ea6
commit d91ec72fcf
6 changed files with 78 additions and 19 deletions

View File

@@ -102,7 +102,7 @@
users.users."nathan" = {
isNormalUser = true;
hashedPasswordFile = config.sops.secrets.nathan_pass.path;
hashedPasswordFile = config.sops.secrets."nathan/pass".path;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
@@ -168,9 +168,12 @@
defaultSopsFormat = "yaml";
secrets = {
nathan_pass = {
"nathan/pass" = {
neededForUsers = true;
};
"authentik/pass" = {};
"authentik/secret_key" = {};
};
};
@@ -221,6 +224,8 @@
virtualization = {
traefik.enable = true;
authentik.enable = true;
gitlab.enable = false;
};