mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
glance: Add alloy and syncthing
This commit is contained in:
parent
7163a31175
commit
8fe5ef9e76
2 changed files with 13 additions and 1 deletions
|
|
@ -128,6 +128,13 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.services.caddy.virtualHosts.${cfg.domain}.port = lib.mkIf (cfg.domain != null) cfg.port;
|
custom = {
|
||||||
|
services.caddy.virtualHosts.${cfg.domain}.port = lib.mkIf (cfg.domain != null) cfg.port;
|
||||||
|
|
||||||
|
meta.services.${cfg.domain} = lib.mkIf (cfg.domain != null) {
|
||||||
|
name = "Alloy";
|
||||||
|
icon = "sh:alloy";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
persistence.directories = [ dataDir ];
|
persistence.directories = [ dataDir ];
|
||||||
|
|
||||||
|
meta.services.${cfg.domain} = lib.mkIf (cfg.gui.domain != null) {
|
||||||
|
name = "Syncthing";
|
||||||
|
icon = "sh:syncthing";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue