diff --git a/modules/homelab/gitea/default.nix b/modules/homelab/gitea/default.nix index 1fd462b..de3cf57 100644 --- a/modules/homelab/gitea/default.nix +++ b/modules/homelab/gitea/default.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, ... }: +{ pkgs, nixpkgs-unstable, config, lib, ... }: let service = "gitea"; @@ -62,16 +62,12 @@ in createHome = true; group = service; extraGroups = []; + # if you wanna attempt system ssh again #openssh.authorizedKeys.keyFiles = [ # "${cfg.data_dir}/.ssh/authorized_keys" #]; }; - services.openssh.extraConfig = '' - Match User gitea - AuthorizedKeysFile /var/lib/gitea/.ssh/authorized_keys - ''; - # declare the gitea service services.gitea = { enable = true;