aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/desktop-apps.nix
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 15:57:04 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 15:57:04 +0200
commitc3f882fae8f4c1ae84deafc310357846e8b66ad1 (patch)
tree7d8e9fac29bec584fb39283c41d0d73632fb01e8 /modules/home/desktop-apps.nix
parenta6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1 (diff)
downloaddesktop-flake-c3f882fae8f4c1ae84deafc310357846e8b66ad1.tar.gz
desktop-flake-c3f882fae8f4c1ae84deafc310357846e8b66ad1.tar.bz2
desktop-flake-c3f882fae8f4c1ae84deafc310357846e8b66ad1.zip
Add Slack, Discord, Spotify, teams-for-linux, and Claude Code
Provisions these via home-manager, scoping unfree-package access to exactly these packages and skipping any that aren't available for the current system/architecture (e.g. aarch64-linux lacks Discord/Spotify builds) instead of failing evaluation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn
Diffstat (limited to 'modules/home/desktop-apps.nix')
-rw-r--r--modules/home/desktop-apps.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/home/desktop-apps.nix b/modules/home/desktop-apps.nix
new file mode 100644
index 0000000..b42cb9d
--- /dev/null
+++ b/modules/home/desktop-apps.nix
@@ -0,0 +1,10 @@
1{ pkgs, lib, ... }:
2let
3 crossPlatformApps = [ pkgs.slack pkgs.discord pkgs.spotify ];
4 linuxOnlyApps = lib.optional pkgs.stdenv.hostPlatform.isLinux pkgs.teams-for-linux;
5 candidateApps = crossPlatformApps ++ linuxOnlyApps;
6in
7{
8 home.packages =
9 builtins.filter (lib.meta.availableOn pkgs.stdenv.hostPlatform) candidateApps;
10}