mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 06:59:41 +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
|
||
|
];
|
||
|
};
|
||
|
}
|