Files
nixos/home/gui/default.nix
T

43 lines
649 B
Nix
Raw Normal View History

2022-05-25 00:15:11 -05:00
{ pkgs, ... }:
2022-04-29 10:58:31 -05:00
2023-05-02 01:05:57 -05:00
let
excludes = systems: opts: (
if ( builtins.all (x: pkgs.system != x) systems ) then opts else []
);
in
2022-04-29 10:58:31 -05:00
{
imports = [
./chat.nix
./firefox.nix
];
2022-05-25 00:15:11 -05:00
2023-08-23 14:03:13 -05:00
# These packages are Linux only
home.packages = with pkgs; ( excludes ["x86_64-darwin" "aarch64-darwin"]
[
2022-11-10 08:43:06 -06:00
cdrtools
2022-11-10 14:10:22 -06:00
vlc
2022-11-10 08:43:06 -06:00
x265
2023-08-23 14:03:13 -05:00
]) ++
2023-05-02 01:16:29 -05:00
2023-08-23 14:03:13 -05:00
# x86_64-linux only
2023-05-02 01:05:57 -05:00
( excludes ["x86_64-darwin" "aarch64-darwin" "aarch64-linux"]
[
2023-08-23 14:03:13 -05:00
bitwarden
2023-05-02 01:05:57 -05:00
endeavour
2023-08-23 14:03:13 -05:00
gnucash
2023-05-02 01:05:57 -05:00
jellyfin-media-player
libreoffice
logseq
nextcloud-client
]) ++
2023-05-02 01:16:29 -05:00
# Items that are not supported on ARM/Linux
2023-05-02 01:05:57 -05:00
( excludes ["aarch64-linux"]
[
onlyoffice-bin
2023-08-23 14:03:13 -05:00
synology-drive-client
2023-05-02 01:05:57 -05:00
zoom-us
]);
2022-04-29 10:58:31 -05:00
}