summary refs log tree commit diff
path: root/nixos/modules/hardware/brillo.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-09 22:45:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-11-10 09:30:00 +0100
commitb4674b39c1928f05118ea0c1c4fb8ab66190edd6 (patch)
tree4d89384b89b51100ccf9ca3c244d62bd3b15892f /nixos/modules/hardware/brillo.nix
parent095269c8622e878eaaac117cc6b63dd1a4970a68 (diff)
downloadnixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.gz
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.bz2
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.lz
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.xz
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.zst
nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.zip
treewide: use `mkEnableOption` in nixos modules
Diffstat (limited to 'nixos/modules/hardware/brillo.nix')
-rw-r--r--nixos/modules/hardware/brillo.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/hardware/brillo.nix b/nixos/modules/hardware/brillo.nix
index 92239de5aae..612061718fa 100644
--- a/nixos/modules/hardware/brillo.nix
+++ b/nixos/modules/hardware/brillo.nix
@@ -8,13 +8,12 @@ in
   options = {
     hardware.brillo = {
       enable = mkEnableOption (lib.mdDoc ''
-        Enable brillo in userspace.
-        This will allow brightness control from users in the video group.
+        brillo in userspace.
+        This will allow brightness control from users in the video group
       '');
     };
   };
 
-
   config = mkIf cfg.enable {
     services.udev.packages = [ pkgs.brillo ];
     environment.systemPackages = [ pkgs.brillo ];