diff options
author | Soispha <soispha@vhack.eu> | 2023-12-31 15:49:33 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-31 15:49:33 +0100 |
commit | 3d97e3453baed3e7fecf3e568d322a2a634fa820 (patch) | |
tree | fe392717151c43aef34aadefbaba8cf3fbad8d7e /sys/svcs/postgresql/default.nix | |
parent | feat(hm/pkgs/neorg): Add a subcommand to stop the currently active task (diff) | |
download | nixos-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.nix | 4 |
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; }; } |