flora-6: use renamed options in gitea.settings.server and openssh.settings #232

Merged
b12f merged 3 commits from infra-gitea-module-settings into infra 2023-07-03 12:38:58 +00:00
3 changed files with 12 additions and 9 deletions

View file

@ -73,11 +73,10 @@
nixos = {
imports = [(digga.lib.importOverlays ./overlays)];
overlays = [
deploy.overlay
(self: super: {
deploy-rs = {
inherit (inputs.nixos.legacyPackages.x86_64-linux) deploy-rs;
lib = super.deploy-rs.lib;
lib = inputs.deploy.lib.x86_64-linux;
};
})
];
@ -186,7 +185,7 @@
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "barkeeper";
path = self.channels.nixos.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper;
path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper;
};
};
#example = {

View file

@ -136,8 +136,10 @@ in {
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
# We manage the firewall with nix, too

View file

@ -25,13 +25,15 @@
type = "postgres";
passwordFile = config.age.secrets.gitea-database-password.path;
};
domain = "git.pub.solar";
httpAddress = "127.0.0.1";
httpPort = 3000;
lfs.enable = true;
mailerPasswordFile = config.age.secrets.gitea-mailer-password.path;
rootUrl = "https://git.pub.solar";
settings = {
server = {
ROOT_URL = "https://git.pub.solar";
DOMAIN = "git.pub.solar";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3000;
};
mailer = {
ENABLED = true;
PROTOCOL = "smtps";