diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-18 00:33:51 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-18 00:33:51 -0400 |
commit | 757e415d88debafcf856667e2ba60fc2a540f561 (patch) | |
tree | 987c8ba16769c0f5073827599c4b5a872b45cf4f | |
parent | home: fix zsh conf (diff) | |
download | dotfiles-nix-757e415d88debafcf856667e2ba60fc2a540f561.tar.gz dotfiles-nix-757e415d88debafcf856667e2ba60fc2a540f561.tar.bz2 dotfiles-nix-757e415d88debafcf856667e2ba60fc2a540f561.zip |
home: only enable wayland utilities when wayland is being used
Diffstat (limited to '')
-rw-r--r-- | home/desktops/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/home/desktops/default.nix b/home/desktops/default.nix index 9c17bb0..d77aef4 100644 --- a/home/desktops/default.nix +++ b/home/desktops/default.nix @@ -15,8 +15,8 @@ in { config = mkIf cfg.enable { # desktop specific programs - home.packages = - (with pkgs; [ + home.packages = with pkgs; + [ # gtk adwaita-icon-theme # codecs @@ -24,12 +24,6 @@ in { libavif libbluray libjxl - # wayland - cage - grimblast - wl-clipboard - wl-clip-persist - wl-mirror # xdg libnotify # fonts @@ -45,6 +39,14 @@ in { noto-fonts-emoji twemoji-color-font vistafonts + ] + ++ (optionals config.desktops.wayland.enable [ + # wayland + cage + grimblast + wl-clipboard + wl-clip-persist + wl-mirror ]) ++ (with inputs.apple-fonts.packages.${pkgs.system}; [ # apple fonts |