mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 19:04:33 +00:00
27 lines
694 B
Nix
27 lines
694 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; [
|
|
libnotify # send desktop notifications
|
|
imagemagick # create/edit images
|
|
trash-cli # interface to freedesktop trashcan
|
|
bitwarden-cli # pw manager
|
|
slides # terminal based presentation tool
|
|
brightnessctl # brightness control
|
|
pulsemixer # manage audio (TUI)
|
|
nix-tree # interactively browse nix store
|
|
glow # render markdown
|
|
ffmpeg # record, convert and stream audio and video
|
|
];
|
|
};
|
|
}
|