houston, we have freshrss
This commit is contained in:
parent
899fa478c2
commit
12875ff891
|
@ -247,6 +247,7 @@
|
||||||
};
|
};
|
||||||
helix = {
|
helix = {
|
||||||
hostname = "git.sealight.xyz";
|
hostname = "git.sealight.xyz";
|
||||||
|
autoRollback = false;
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "root";
|
user = "root";
|
||||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
|
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
services.NetworkManager-wait-online.wantedBy = pkgs.lib.mkForce [ ]; # Normally ["network-online.target"]
|
services.NetworkManager-wait-online.wantedBy = pkgs.lib.mkForce [ ]; # Normally ["network-online.target"]
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gnupg.agent.pinentryFlavor = "gnome3";
|
programs.gnupg.agent.pinentryFlavor = "gtk2";
|
||||||
|
|
||||||
fileSystems."/mnt/ftp" = {
|
fileSystems."/mnt/ftp" = {
|
||||||
device = "192.168.1.240:/home/ftp";
|
device = "192.168.1.240:/home/ftp";
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
database = {
|
database = {
|
||||||
type = "pgsql";
|
type = "pgsql";
|
||||||
passFile = "/run/agenix/freshrss-dbpass";
|
passFile = "/run/agenix/freshrss-dbpass";
|
||||||
|
port = 5432;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,15 +21,18 @@
|
||||||
authentication = ''
|
authentication = ''
|
||||||
local freshrss all ident map=freshrss-users
|
local freshrss all ident map=freshrss-users
|
||||||
'';
|
'';
|
||||||
identMap = # Map the gitea user to postgresql
|
identMap = # Map the freshrss user to postgresql
|
||||||
''
|
''
|
||||||
freshrss-users freshrss freshrss
|
freshrss-users freshrss freshrss
|
||||||
'';
|
'';
|
||||||
# TODO with password
|
|
||||||
ensureDatabases = [ "freshrss" ];
|
ensureDatabases = [ "freshrss" ];
|
||||||
ensureUsers = [
|
# TODO
|
||||||
{ name = "freshrss"; ensurePermissions."DATABASE freshrss" = "ALL PRIVILEGES"; }
|
# initialScript # set password for gitea user
|
||||||
];
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."rss.sealight.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in a new issue