summaryrefslogtreecommitdiff
path: root/hosts/local/fw11
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2024-10-06 20:06:35 +0700
committerpolwex <polwex@sortug.com>2024-10-06 20:06:35 +0700
commit3a8f180df3cb9c336ff4304be4b3ca365215ba60 (patch)
tree77bf3f8b5a420a43fadbf97ab18435954a52553f /hosts/local/fw11
parent3d933f65cbe50c49d42fe97bd59c5bb15a3d4d09 (diff)
m
Diffstat (limited to 'hosts/local/fw11')
-rw-r--r--hosts/local/fw11/configuration.nix3
-rw-r--r--hosts/local/fw11/framework.kbd2
-rw-r--r--hosts/local/fw11/keyboard.nix1
3 files changed, 2 insertions, 4 deletions
diff --git a/hosts/local/fw11/configuration.nix b/hosts/local/fw11/configuration.nix
index 6375534..284ac0c 100644
--- a/hosts/local/fw11/configuration.nix
+++ b/hosts/local/fw11/configuration.nix
@@ -57,9 +57,6 @@ in {
time.timeZone = "Asia/Bangkok";
# time.timeZone = "Europe/Madrid";
- # Enable CUPS to print documents.
- # services.printing.enable = true;
-
# List services that you want to enable:
services.openssh.enable = true;
diff --git a/hosts/local/fw11/framework.kbd b/hosts/local/fw11/framework.kbd
index 2594bf6..721aade 100644
--- a/hosts/local/fw11/framework.kbd
+++ b/hosts/local/fw11/framework.kbd
@@ -10,7 +10,7 @@ fallthrough true
;; allow-cmd true
;; use 'ls /dev/input/by-id/' for detachable keyboards and
;; 'ls /dev/input/by-path/' for builtin keyboards location'
-input (device-file "/dev/input/event0")
+ input (device-file "/dev/input/event0")
;; Not sure what this does. Please check the docs.
output (uinput-sink "My KMonad output")
)
diff --git a/hosts/local/fw11/keyboard.nix b/hosts/local/fw11/keyboard.nix
index 13852a0..ac39694 100644
--- a/hosts/local/fw11/keyboard.nix
+++ b/hosts/local/fw11/keyboard.nix
@@ -36,6 +36,7 @@
keyboards.internal = {
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
config = builtins.readFile ./framework.kbd;
+ # device = builtins.pathExists /dev.input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-kbd
# device = "/dev/input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-kbd";
# config = builtins.readFile ./thinkpad.kbd;