Browse Source

fix more gitea stuff

canon
Hazel Levine 2 months ago
parent
commit
d0da442d08
  1. 11
      modules/services/gitea.nix
  2. 7
      secrets/kerria/giteaDbPass.age
  3. 1
      secrets/kerria/secrets.nix

11
modules/services/gitea.nix

@ -29,15 +29,14 @@ with lib; {
type = "sqlite3";
createDatabase = false; # hold-over from alpine
user = "hazel";
passwordFile = "/etc/gitea/db_pass";
passwordFile = toString config.age.secrets.giteaDbPass.path;
};
ssh = {
enable = true;
clonePort = 2222;
};
settings = {
server = {
SSH_DOMAIN = "knightsofthelambdacalcul.us";
SSH_PORT = 2222;
START_SSH_SERVER = true;
};
openid = {
ENABLE_OPENID_SIGNIN = false;
ENABLE_OPENID_SIGNUP = false;

7
secrets/kerria/giteaDbPass.age

@ -0,0 +1,7 @@
age-encryption.org/v1
-> ssh-ed25519 /7mZFQ kdPUDQt18HRd1A6tywDtuGDTm/6snZMP8DJbe4HJdiw
Mkuzz4b/1ln06L1iM/YbYPoSZM8LJEhkoIfHBb1cCm0
-> Y-grease )$J<X7bV
FsvroCEPfXmB4z9BQI61mhPPsXyILckRQ5bTe1QkSAWF+pgSzVGA
--- bxsZ7bSPBZiQyH3PUjjinS9slV1D1J83my5EXkbzUSU
êø£Šñê(hçY©—ƽ>Ñ6ƒØŸeð_´ß¢@¬÷ ÊøÖ•ƒ¾îo#Ññó9ä!Ó¢+Ì)ð~çù9ªDX·ÉÑ:2·ÿ%‘¨Ÿ)òêþ¤<

1
secrets/kerria/secrets.nix

@ -7,4 +7,5 @@ in
"nextcloudDbPass.age".publicKeys = [ kerriaKey ];
"nextcloudPass.age".publicKeys = [ kerriaKey ];
"bitwardenEnv.age".publicKeys = [ kerriaKey ];
"giteaDbPass.age".publicKeys = [ kerriaKey ];
}
Loading…
Cancel
Save