nixdots/home/packages/cli/desktop.nix

19 lines
301 B
Nix
Raw Normal View History

2024-06-10 13:11:49 +00:00
{
osConfig,
lib,
pkgs,
...
}: let
inherit (lib) mkIf;
devType = osConfig.myOptions.device.roles.type;
acceptedTypes = [ "laptop" "desktop" ];
in {
config = mkIf (builtins.elem devType acceptedTypes) {
home.packages = with pkgs; [
trash-cli
bitwarden-cli
];
};
}