From 4c1e31f791b1814e7f87e0fe941147a8a1c7b54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 26 Nov 2024 11:12:48 +0100 Subject: [PATCH] gate postgresql behind isGraphical --- programs/desktop/development/system.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/desktop/development/system.nix b/programs/desktop/development/system.nix index 561060cd..aa5238f9 100644 --- a/programs/desktop/development/system.nix +++ b/programs/desktop/development/system.nix @@ -1,7 +1,7 @@ -{ ... }: +{ config, ... }: { services.postgresql = { - enable = true; + enable = config.isGraphical; ensureUsers = [ { name = "darkkirb";