This commit is contained in:
ari committed 2026-08-07 17:08:22 -04:00
1 parent c5150ee9d3
commit 92d10f3f09
8 files changed
+67 -11

No files matched your search

+10 -1
View File
@@ -233,6 +233,15 @@ in
type = types.bool;
};
autoStart = mkOption {
description = ''
Whether to start colibri-serve automatically at boot.
Set to false to only start it on demand via `systemctl start colibri-serve`.
'';
default = true;
type = types.bool;
};
extraArgs = mkOption {
description = "Additional arguments to append to the coli serve command line.";
default = [ ];
@@ -272,7 +281,7 @@ in
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
wantedBy = lib.optionals cfg.autoStart [ "multi-user.target" ];
serviceConfig = {
Type = "simple";