diff options
Diffstat (limited to 'hosts/office-precision')
| -rw-r--r-- | hosts/office-precision/configuration.nix | 6 | ||||
| -rw-r--r-- | hosts/office-precision/g610.nix | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/hosts/office-precision/configuration.nix b/hosts/office-precision/configuration.nix index 5e3a463..ef7c71c 100644 --- a/hosts/office-precision/configuration.nix +++ b/hosts/office-precision/configuration.nix @@ -1,9 +1,11 @@ { config, lib, pkgs, ... }: { - imports = [ ./wg.nix ]; + imports = [ + ./g610.nix + ./wg.nix + ]; # Setup bootloader boot._loader.enable = true; - boot.loader.timeout = 15; # Show for longer since it's usually skipped # Enable common options _archetypes = { diff --git a/hosts/office-precision/g610.nix b/hosts/office-precision/g610.nix new file mode 100644 index 0000000..8cceafc --- /dev/null +++ b/hosts/office-precision/g610.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + # Turn off backlight on my G610 keyboard + systemd.services.G610DisableBacklight = { + description = "G610 disable backlight"; + wantedBy = [ "multi-user.target" ]; + + serviceConfig.ExecStart = "${pkgs.g810-led}/bin/g610-led -a 00"; + }; +} |
