43 lines
649 B
Nix
43 lines
649 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
excludes = systems: opts: (
|
|
if ( builtins.all (x: pkgs.system != x) systems ) then opts else []
|
|
);
|
|
|
|
in
|
|
{
|
|
imports = [
|
|
./chat.nix
|
|
./firefox.nix
|
|
];
|
|
|
|
# These packages are Linux only
|
|
home.packages = with pkgs; ( excludes ["x86_64-darwin" "aarch64-darwin"]
|
|
[
|
|
cdrtools
|
|
vlc
|
|
x265
|
|
]) ++
|
|
|
|
# x86_64-linux only
|
|
( excludes ["x86_64-darwin" "aarch64-darwin" "aarch64-linux"]
|
|
[
|
|
bitwarden
|
|
endeavour
|
|
gnucash
|
|
jellyfin-media-player
|
|
libreoffice
|
|
logseq
|
|
nextcloud-client
|
|
]) ++
|
|
|
|
# Items that are not supported on ARM/Linux
|
|
( excludes ["aarch64-linux"]
|
|
[
|
|
onlyoffice-bin
|
|
synology-drive-client
|
|
zoom-us
|
|
]);
|
|
}
|