From 00d0eabf1301920a5d14b7036fb974cebd673b76 Mon Sep 17 00:00:00 2001 From: mawalu Date: Fri, 7 Oct 2022 00:00:43 +0200 Subject: [PATCH] Add option --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4d4c22f..8a9890b 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,7 @@ config = { baseDomain = mkOption { type = types.str; - description = "Base domain"; + description = "Base domain."; }; }; }; @@ -50,7 +50,7 @@ serviceConfig = let pkg = self.packages.${pkgs.system}.default; in { Restart = "on-failure"; - ExecStart = "${pkg}/bin/norbert ${toINI cfg.config}"; + ExecStart = "${pkg}/bin/norbert ${generators.toINI {} { global = cfg.config; }}"; DynamicUser = "yes"; }; };