From 01a2f55355c4a93ea6025d7cac152cbd83d7cdfb Mon Sep 17 00:00:00 2001 From: Johannes Kresner Date: Mon, 17 Aug 2026 10:46:51 +0200 Subject: [PATCH] fix: linux only packages --- home.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index d8f2172..41370b8 100644 --- a/home.nix +++ b/home.nix @@ -10,7 +10,7 @@ home.stateVersion = "24.05"; - home.pointerCursor = { + home.pointerCursor = lib.mkIf pkgs.stdenv.hostPlatform.isLinux { enable = true; name = "Bibata-Modern-Classic"; package = pkgs.bibata-cursors; @@ -54,12 +54,13 @@ pi-coding-agent yazi unzip - owncloud-client - wl-clipboard - cliphist obsidian htop btop + ] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ + owncloud-client + wl-clipboard + cliphist ]; home.file = { @@ -134,7 +135,7 @@ # --- System & Fixes --- crashHandler.enable = true; # Prevent Discord from completely crashing - webScreenShareFixes.enable = true; # Essential for Wayland screen sharing + webScreenShareFixes.enable = pkgs.stdenv.hostPlatform.isLinux; # Essential for Wayland screen sharing # --- Utility & Fun --- fakeNitro.enable = true; # Stream in high quality, use external emojis