diff options
| author | 2026-09-21 15:57:04 +0200 | |
|---|---|---|
| committer | 2026-09-21 15:57:04 +0200 | |
| commit | c3f882fae8f4c1ae84deafc310357846e8b66ad1 (patch) | |
| tree | 7d8e9fac29bec584fb39283c41d0d73632fb01e8 /modules/home/desktop-apps.nix | |
| parent | a6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1 (diff) | |
| download | desktop-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.nix | 10 |
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, ... }: | ||
| 2 | let | ||
| 3 | crossPlatformApps = [ pkgs.slack pkgs.discord pkgs.spotify ]; | ||
| 4 | linuxOnlyApps = lib.optional pkgs.stdenv.hostPlatform.isLinux pkgs.teams-for-linux; | ||
| 5 | candidateApps = crossPlatformApps ++ linuxOnlyApps; | ||
| 6 | in | ||
| 7 | { | ||
| 8 | home.packages = | ||
| 9 | builtins.filter (lib.meta.availableOn pkgs.stdenv.hostPlatform) candidateApps; | ||
| 10 | } | ||
