mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-27 09:24:33 +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
|
|
];
|
|
};
|
|
}
|