diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-01-31 13:17:01 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-01-31 13:17:01 -0600 |
| commit | 672ad23dcaa0bb95b73b9ad1880ca49335acd2c8 (patch) | |
| tree | 85b7c8b48e6058863e9ae83ef8a4f869494c3e6b | |
| parent | bbd1c316addcc2da6aac2b56834050e4efd03d47 (diff) | |
| download | nixos-672ad23dcaa0bb95b73b9ad1880ca49335acd2c8.tar.xz nixos-672ad23dcaa0bb95b73b9ad1880ca49335acd2c8.zip | |
| -rw-r--r-- | hosts/optiplex/configuration.nix | 4 | ||||
| -rw-r--r-- | hosts/optiplex/g610.nix | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix index 32469c5..e52552b 100644 --- a/hosts/optiplex/configuration.nix +++ b/hosts/optiplex/configuration.nix @@ -1,4 +1,8 @@ { config, lib, pkgs, home-manager, ... }: { + imports = [ + ./g610.nix + ]; + # Setup bootloader boot._loader.enable = true; diff --git a/hosts/optiplex/g610.nix b/hosts/optiplex/g610.nix new file mode 100644 index 0000000..c584165 --- /dev/null +++ b/hosts/optiplex/g610.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + # Turn off backlight on my G610 keyboard + systemd.services.myEarlyService = { + description = "G610 no backlight"; + wantedBy = [ "multi-user.target" ]; + + serviceConfig.ExecStart = "${pkgs.g810-led}/bin/g610-led -a 00"; + }; +} |
