From e8dc043a212f56c168d04ed660efcc18dfefbadd Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 9 Apr 2024 18:18:36 -0400 Subject: [PATCH] global/general: disable X libs on non-graphical --- modules/global/general.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/global/general.nix b/modules/global/general.nix index 3719fdb..eb53eb4 100644 --- a/modules/global/general.nix +++ b/modules/global/general.nix @@ -29,4 +29,6 @@ # FIXME: activation script doesn't work properly, and frequently errors # channels-update.text = "${pkgs.nix}/bin/nix-channel --update"; }; + + environment.noXlibs = lib.mkDefault (!config.info.graphical); }