Use brightnessctl

This commit is contained in:
ItsDrike 2024-06-10 15:11:49 +02:00
parent 0f4d3f1e05
commit bb39670cd1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
6 changed files with 38 additions and 165 deletions

View file

@ -1,5 +1,6 @@
_: {
imports = [
./shared.nix
./desktop.nix
];
}

View 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
];
};
}