Files
nixos/home/gui/chat.nix
T
2022-12-24 00:36:36 -06:00

19 lines
378 B
Nix

{ pkgs, lib, ... }:
let
darwinPkgs = [];
x86Pkgs = with pkgs; [
element-desktop
slack
];
archPkgs = with pkgs; [
element-desktop
];
in {
home.packages = ( if ( pkgs.stdenv.hostPlatform.isDarwin ) then darwinPkgs else
( if ( lib.hasPrefix "aarch64" pkgs.system ) then archPkgs else
( if ( lib.hasPrefix "x86_64" pkgs.system ) then x86Pkgs else [] )
)
);
}