nix: merge all nix programs into applications.nix

This commit is contained in:
Nico 2025-05-03 16:16:01 +10:00
parent ec7c50dedc
commit 11b8a03564
4 changed files with 14 additions and 18 deletions

View file

@ -1,5 +1,8 @@
{ config, lib, pkgs, ... }:
let
isLinux = pkgs.hostPlatform.system == "linux";
in
{
environment.systemPackages = with pkgs; [
spotify
@ -9,5 +12,16 @@
element-desktop
keepassxc
ani-cli
]
++ lib.optionals (pkgs.hostPlatform.system == "linux") [
# linux-specific/broken on OSX
mpv
ghostty
thunderbird
]
++ lib.optionals (pkgs.hostPlatform.system == "darwin") [
iina
utm
raycast
];
}