summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-08 14:54:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-08 14:54:43 +0200
commitdf665ee65e2261a96db3dbfc7fae59c4356a8877 (patch)
treece79821b541dcc7615480b10659bc624671542ed /custom
parente1b6b84568be92ac0c09876b58906d9cc13874b7 (diff)
downloadnixos-df665ee65e2261a96db3dbfc7fae59c4356a8877.tar
nixos-df665ee65e2261a96db3dbfc7fae59c4356a8877.tar.gz
nixos-df665ee65e2261a96db3dbfc7fae59c4356a8877.tar.bz2
nixos-df665ee65e2261a96db3dbfc7fae59c4356a8877.tar.xz
nixos-df665ee65e2261a96db3dbfc7fae59c4356a8877.zip
...
Diffstat (limited to 'custom')
-rw-r--r--custom/bar-service.nix3
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}" = {