mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: expanded all lists
This commit is contained in:
parent
59cc199722
commit
bb0b55b011
144 changed files with 1798 additions and 507 deletions
|
@ -3,8 +3,15 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (flake.config.machines.devices) server;
|
||||
inherit (flake.config.services.instances) forgejo web;
|
||||
inherit
|
||||
(flake.config.machines.devices)
|
||||
server
|
||||
;
|
||||
inherit
|
||||
(flake.config.services.instances)
|
||||
forgejo
|
||||
web
|
||||
;
|
||||
service = forgejo;
|
||||
localhost = web.localhost.address0;
|
||||
host = "${service.subdomain}.${web.domains.url1}";
|
||||
|
@ -86,7 +93,9 @@ in {
|
|||
fileSystems."/var/lib/${service.name}" = {
|
||||
device = service.paths.path0;
|
||||
fsType = "none";
|
||||
options = ["bind"];
|
||||
options = [
|
||||
"bind"
|
||||
];
|
||||
depends = [server.storage0.mount];
|
||||
};
|
||||
|
||||
|
@ -95,7 +104,10 @@ in {
|
|||
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
|
||||
];
|
||||
|
||||
users.users.${service.name}.extraGroups = ["caddy" "postgres"];
|
||||
users.users.${service.name}.extraGroups = [
|
||||
"caddy"
|
||||
"postgres"
|
||||
];
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue