about summary refs log tree commit diff stats
path: root/sys/svcs/postgresql/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-31 15:49:33 +0100
committerSoispha <soispha@vhack.eu>2023-12-31 15:49:33 +0100
commit3d97e3453baed3e7fecf3e568d322a2a634fa820 (patch)
treefe392717151c43aef34aadefbaba8cf3fbad8d7e /sys/svcs/postgresql/default.nix
parentfeat(hm/pkgs/neorg): Add a subcommand to stop the currently active task (diff)
downloadnixos-config-3d97e3453baed3e7fecf3e568d322a2a634fa820.tar.gz
nixos-config-3d97e3453baed3e7fecf3e568d322a2a634fa820.zip
fix(sys/svcs/postgresql): Only active if not on a laptop
Diffstat (limited to '')
-rw-r--r--sys/svcs/postgresql/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/svcs/postgresql/default.nix b/sys/svcs/postgresql/default.nix
index 165be27c..09cca2ef 100644
--- a/sys/svcs/postgresql/default.nix
+++ b/sys/svcs/postgresql/default.nix
@@ -1,5 +1,5 @@
-{...}: {
+{config, ...}: {
   services.postgresql = {
-    enable = true;
+    enable = !config.soispha.laptop.enable;
   };
 }