From fcbad25a2aefd3731836794d17439ea4e46df026 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 3 Oct 2024 13:54:52 +0200 Subject: [PATCH] services/brightness: add brillo for backlight --- system/core/users.nix | 3 ++- system/default.nix | 1 + system/services/brightness.nix | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 system/services/brightness.nix diff --git a/system/core/users.nix b/system/core/users.nix index 24bb86b..7da1ca7 100644 --- a/system/core/users.nix +++ b/system/core/users.nix @@ -1,9 +1,10 @@ -{...}: { +{ users.users.nezia = { isNormalUser = true; description = "Anthony Rodriguez"; extraGroups = [ "networkmanager" + "video" "wheel" ]; }; diff --git a/system/default.nix b/system/default.nix index 6ff66c8..a236d19 100644 --- a/system/default.nix +++ b/system/default.nix @@ -21,6 +21,7 @@ let ++ [ ./hardware/fprintd.nix ./services/power.nix + ./services/brightness.nix ./services/keyd.nix ]; in { diff --git a/system/services/brightness.nix b/system/services/brightness.nix new file mode 100644 index 0000000..4cbef77 --- /dev/null +++ b/system/services/brightness.nix @@ -0,0 +1,3 @@ +{ + hardware.brillo.enable = true; +}