From ec98efdfd2e1d3a5d48d63fb60125243c4dce0a6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 5 May 2023 17:13:30 +0200 Subject: [PATCH] mail: Guard thunderbird behind GUI --- users/simon/modules/mail/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/simon/modules/mail/default.nix b/users/simon/modules/mail/default.nix index 86e2faf..2685ece 100644 --- a/users/simon/modules/mail/default.nix +++ b/users/simon/modules/mail/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ lib, nixosConfig, pkgs, ... }: { imports = [ #./accounts.nix @@ -6,7 +6,7 @@ #./notmuch.nix ]; - home.packages = with pkgs; [ + home.packages = with pkgs; lib.optionals nixosConfig.sbruder.gui.enable [ thunderbird ]; }