mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat: add globals system
This commit is contained in:
parent
6cac368378
commit
2aa5e0095c
31 changed files with 833 additions and 528 deletions
|
|
@ -12,11 +12,13 @@ in
|
|||
|
||||
sops.secrets.swarsel = { owner = "root"; };
|
||||
|
||||
topology.self.services.anki = {
|
||||
topology.self.services.${serviceName} = {
|
||||
name = lib.mkForce "Anki Sync Server";
|
||||
info = "https://${serviceDomain}";
|
||||
};
|
||||
|
||||
globals.services.${serviceName}.domain = serviceDomain;
|
||||
|
||||
services.anki-sync-server = {
|
||||
enable = true;
|
||||
port = servicePort;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue