From 3d97e3453baed3e7fecf3e568d322a2a634fa820 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 31 Dec 2023 15:49:33 +0100 Subject: fix(sys/svcs/postgresql): Only active if not on a laptop --- sys/svcs/postgresql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/svcs/postgresql/default.nix') 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; }; } -- cgit 1.4.1