From df665ee65e2261a96db3dbfc7fae59c4356a8877 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 8 Sep 2018 14:54:43 +0200 Subject: ... --- custom/bar-service.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/bar-service.nix b/custom/bar-service.nix index a5bb9626..55e070b3 100644 --- a/custom/bar-service.nix +++ b/custom/bar-service.nix @@ -52,8 +52,6 @@ in { }; }; - imports = mkIf cfg.enable [ ./thermoprint-service.nix ]; - config = mkIf cfg.enable { assertions = [ { assertion = config.services.postgresql.enable; @@ -61,6 +59,7 @@ in { } ]; + imports = [ ./thermoprint-service.nix ]; packages.thermoprint.enable = true; users.users."${cfg.user}" = { -- cgit v1.2.3