From 1156a9af04a5972da6a03943466fe220497d1ddf Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 5 Jan 2025 16:26:35 +0000 Subject: [PATCH] Only install browsers on non-headless systems --- nix/users/opdavies/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nix/users/opdavies/default.nix b/nix/users/opdavies/default.nix index 45dba1f..68c8330 100644 --- a/nix/users/opdavies/default.nix +++ b/nix/users/opdavies/default.nix @@ -11,9 +11,12 @@ "wheel" ]; - packages = with pkgs; [ - brave - chromium - ]; + packages = + with pkgs; + [ ] + ++ pkgs.lib.optionals (!headless) [ + brave + firefox + ]; }; }