mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 16:17:17 +00:00
19 lines
301 B
Nix
19 lines
301 B
Nix
{
|
|
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
|
|
];
|
|
};
|
|
}
|