flora-6: use renamed options in gitea.settings.server and openssh.settings #232
|
@ -73,11 +73,10 @@
|
||||||
nixos = {
|
nixos = {
|
||||||
imports = [(digga.lib.importOverlays ./overlays)];
|
imports = [(digga.lib.importOverlays ./overlays)];
|
||||||
overlays = [
|
overlays = [
|
||||||
deploy.overlay
|
|
||||||
(self: super: {
|
(self: super: {
|
||||||
deploy-rs = {
|
deploy-rs = {
|
||||||
inherit (inputs.nixos.legacyPackages.x86_64-linux) 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"];
|
profilesOrder = ["system" "direnv"];
|
||||||
profiles.direnv = {
|
profiles.direnv = {
|
||||||
user = "barkeeper";
|
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 = {
|
#example = {
|
||||||
|
|
|
@ -136,8 +136,10 @@ in {
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
settings = {
|
||||||
permitRootLogin = "no";
|
PasswordAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# We manage the firewall with nix, too
|
# We manage the firewall with nix, too
|
||||||
|
|
|
@ -25,13 +25,15 @@
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
passwordFile = config.age.secrets.gitea-database-password.path;
|
passwordFile = config.age.secrets.gitea-database-password.path;
|
||||||
};
|
};
|
||||||
domain = "git.pub.solar";
|
|
||||||
httpAddress = "127.0.0.1";
|
|
||||||
httpPort = 3000;
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
mailerPasswordFile = config.age.secrets.gitea-mailer-password.path;
|
mailerPasswordFile = config.age.secrets.gitea-mailer-password.path;
|
||||||
rootUrl = "https://git.pub.solar";
|
|
||||||
settings = {
|
settings = {
|
||||||
|
server = {
|
||||||
|
ROOT_URL = "https://git.pub.solar";
|
||||||
|
DOMAIN = "git.pub.solar";
|
||||||
|
HTTP_ADDR = "127.0.0.1";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
|
};
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
PROTOCOL = "smtps";
|
PROTOCOL = "smtps";
|
||||||
|
|
Loading…
Reference in a new issue