diff options
| -rw-r--r-- | custom/bar-service.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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 { | |||
| 52 | }; | 52 | }; |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | imports = mkIf cfg.enable [ ./thermoprint-service.nix ]; | ||
| 56 | |||
| 57 | config = mkIf cfg.enable { | 55 | config = mkIf cfg.enable { |
| 58 | assertions = [ | 56 | assertions = [ |
| 59 | { assertion = config.services.postgresql.enable; | 57 | { assertion = config.services.postgresql.enable; |
| @@ -61,6 +59,7 @@ in { | |||
| 61 | } | 59 | } |
| 62 | ]; | 60 | ]; |
| 63 | 61 | ||
| 62 | imports = [ ./thermoprint-service.nix ]; | ||
| 64 | packages.thermoprint.enable = true; | 63 | packages.thermoprint.enable = true; |
| 65 | 64 | ||
| 66 | users.users."${cfg.user}" = { | 65 | users.users."${cfg.user}" = { |
