summaryrefslogtreecommitdiff
path: root/hosts/office-precision
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-07-28 17:24:38 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-07-28 17:24:38 -0500
commit052d7036cd077eeb265ebf47159d148cd75ef0fd (patch)
tree192ec945234770e9fcf438b069de46b8ab94be5a /hosts/office-precision
parent096769b390bb90fc451c384f85bc26d3c2744a1c (diff)
downloadnixos-052d7036cd077eeb265ebf47159d148cd75ef0fd.tar.xz
nixos-052d7036cd077eeb265ebf47159d148cd75ef0fd.zip
mv g610 conf to office-precision because that is now where that keyboard lives
Diffstat (limited to 'hosts/office-precision')
-rw-r--r--hosts/office-precision/configuration.nix6
-rw-r--r--hosts/office-precision/g610.nix9
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";
+ };
+}