mirror of https://gitlab.crans.org/nounous/nixos
Ajout Forgejo à Perseverance
parent
b0e730ec1f
commit
aac3064e88
|
|
@ -9,9 +9,9 @@
|
|||
networking.hostName = "perseverance";
|
||||
boot.loader.grub.devices = [ "/dev/sda" ];
|
||||
|
||||
security.sudo.extraRule = [
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
group = [ "_user" ];
|
||||
groups = [ "_user" ];
|
||||
commands = [ "ALL" ];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
homeNounou.enable = false;
|
||||
|
||||
users.root.passwordFile = ../../secrets/apprentix/root.age;
|
||||
users.root.passwordFile = ../../../secrets/apprentix/root.age;
|
||||
|
||||
resticClient.enable = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,19 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
in
|
||||
{
|
||||
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
|
||||
settings.server = {
|
||||
DOMAIN = "git-test.crans.org";
|
||||
ROOT_URL = "https://${srv.DOMAIN}";
|
||||
HTTP_PORT = 3000;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,6 +226,9 @@ in
|
|||
serverAliases = [ "excel" ];
|
||||
};
|
||||
"framadate".proxyPass = "172.16.10.109";
|
||||
"git-test" = {
|
||||
proxyPass = "172.16.10.137:3000";
|
||||
};
|
||||
"grafana" = {
|
||||
proxyPass = "172.16.10.121:3000";
|
||||
serverAliases = [ "fyre" ];
|
||||
|
|
@ -337,5 +340,5 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue