Compare commits
3 commits
0444fe424a
...
2bb83d0383
Author | SHA1 | Date | |
---|---|---|---|
2bb83d0383 | |||
edcfa77998 | |||
358bc67e6e |
5 changed files with 31 additions and 2 deletions
|
@ -32,10 +32,15 @@
|
||||||
name = "forgejo";
|
name = "forgejo";
|
||||||
ensurePermissions."DATABASE forgejo" = "ALL PRIVILEGES";
|
ensurePermissions."DATABASE forgejo" = "ALL PRIVILEGES";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "miniflux";
|
||||||
|
ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
"forgejo"
|
"forgejo"
|
||||||
"hedgedoc"
|
"hedgedoc"
|
||||||
|
"miniflux"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
./homarr.nix
|
./homarr.nix
|
||||||
./dashdot.nix
|
./dashdot.nix
|
||||||
|
./miniflux.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
16
hosts/yuki/services/miniflux.nix
Normal file
16
hosts/yuki/services/miniflux.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
networking.firewall.allowedTCPPorts = [8200];
|
||||||
|
sops.secrets.miniflux = {};
|
||||||
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
||||||
|
LISTEN_ADDR = "localhost:8200";
|
||||||
|
};
|
||||||
|
adminCredentialsFile = config.sops.secrets.miniflux.path;
|
||||||
|
};
|
||||||
|
}
|
|
@ -35,6 +35,11 @@ _: {
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
service = "dashdot";
|
service = "dashdot";
|
||||||
};
|
};
|
||||||
|
miniflux = {
|
||||||
|
rule = "Host(`news.home.arpa`)";
|
||||||
|
entrypoints = ["web"];
|
||||||
|
service = "miniflux";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
|
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
|
||||||
|
@ -42,6 +47,7 @@ _: {
|
||||||
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
||||||
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
||||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||||
|
miniflux.loadBalancer.servers = [{url = "http://localhost:8200";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,6 +7,7 @@ woodpecker-server: ENC[AES256_GCM,data:elB9cO9bM3B4aRadcma42tz5TFdXRPN4RS71PDfqK
|
||||||
woodpecker-agent-secret: ENC[AES256_GCM,data:Xfz8OEQqcqeb9zi531zhfitbDbfxtVAsf4JFmmqpAL9rMsQwRl8vWVp3m23yEl6F5f67+Bf26GAlPwWT8hVCAA==,iv:fCoBgR1L1niZaa/HCCfJTsrJvOrlGv0Fa7zcTL6s118=,tag:SOE/4MOp6tx+eTr4vrxxGA==,type:str]
|
woodpecker-agent-secret: ENC[AES256_GCM,data:Xfz8OEQqcqeb9zi531zhfitbDbfxtVAsf4JFmmqpAL9rMsQwRl8vWVp3m23yEl6F5f67+Bf26GAlPwWT8hVCAA==,iv:fCoBgR1L1niZaa/HCCfJTsrJvOrlGv0Fa7zcTL6s118=,tag:SOE/4MOp6tx+eTr4vrxxGA==,type:str]
|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S+Ew==,iv:rYdMasJS1LqMGvMYFyAdEkoTLtOHrZHGcfBOvbn63bg=,tag:YNcP/pvgKHPYNhAwVGdFHw==,type:str]
|
||||||
|
miniflux: ENC[AES256_GCM,data:Ug7i6US14DKf0WvCdk07oganRcepD6GbrX7fKKDYhfpoIsksZCWQPLNCxO+uBHm4xAf7e+bk,iv:biWn2ou2chR0gDJM0dEFbAojVHrM7BFvwZ/xtk9f4og=,tag:deFNV/lCNEz0F8yBwCnVyw==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
|
@ -22,8 +23,8 @@ sops:
|
||||||
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
||||||
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2023-06-16T07:26:48Z"
|
lastmodified: "2023-06-19T09:08:32Z"
|
||||||
mac: ENC[AES256_GCM,data:MoKoGCTFAruLzYERJNesBwAsjVzLknZqy0uxRuZHSS/hpklLe1pVvboyTe8W8ke4R34+oFD4zwzAnPezU1ldjGvTSnaSTl48PPT2RZgNPgsJwzmLjmGKEosWVn5kBosDqeuDIjr9qeQU2QnfEGfMKYlLNt8MG/M48H4lnY94ZUw=,iv:FOzhtSj/j8j/A6b86TA2W1d4M/PyAgjubFXOmpXJwG4=,tag:MkvIuezoB8Jt8HZX2yYJQw==,type:str]
|
mac: ENC[AES256_GCM,data:0F4X7gdqDin1iXKB0iknrhYXPdw40uhEfgjSEdj47HhMHsQofDX/74jl6U3fGaAt7Gp8mhbqaE9ZdU2eYzU7kpX/zYExnEwEjwwzD/S5Qpovl6YbfQgZ1F1iGmohCZK1r8GXV5pnvzmqrJyZL1b8g0jSeC10CFGEqCCnaUjLe8Y=,iv:2/615IMcdghY0juFyGOEWILf+5ACNk/6BZoglU75fI4=,tag:Nup4fpsidj/Usxu6GKGp3w==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.7.3
|
version: 3.7.3
|
||||||
|
|
Loading…
Reference in a new issue