Add option
This commit is contained in:
parent
7d23fc01f0
commit
a3d7abdb4e
|
@ -38,7 +38,7 @@
|
||||||
config = {
|
config = {
|
||||||
baseDomain = mkOption {
|
baseDomain = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "Base domain";
|
description = "Base domain.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
serviceConfig = let pkg = self.packages.${pkgs.system}.default;
|
serviceConfig = let pkg = self.packages.${pkgs.system}.default;
|
||||||
in {
|
in {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
ExecStart = "${pkg}/bin/norbert ${toINI cfg.config}";
|
ExecStart = "${pkg}/bin/norbert ${generators.toINI cfg.config}";
|
||||||
DynamicUser = "yes";
|
DynamicUser = "yes";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue