mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 07:00:41 +00:00
Use brightnessctl
This commit is contained in:
parent
0f4d3f1e05
commit
bb39670cd1
6 changed files with 38 additions and 165 deletions
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./shared.nix
|
||||
./desktop.nix
|
||||
];
|
||||
}
|
||||
|
|
18
home/packages/cli/desktop.nix
Normal file
18
home/packages/cli/desktop.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue