From 3a8f180df3cb9c336ff4304be4b3ca365215ba60 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 6 Oct 2024 20:06:35 +0700 Subject: m --- hosts/local/fw11/configuration.nix | 3 --- hosts/local/fw11/framework.kbd | 2 +- hosts/local/fw11/keyboard.nix | 1 + hosts/local/gnome.nix | 5 +---- hosts/local/ohira/configuration.nix | 2 +- 5 files changed, 4 insertions(+), 9 deletions(-) (limited to 'hosts/local') 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; diff --git a/hosts/local/gnome.nix b/hosts/local/gnome.nix index 9459392..1220720 100644 --- a/hosts/local/gnome.nix +++ b/hosts/local/gnome.nix @@ -6,7 +6,6 @@ pkgs, ... }: { - # Enable the X11 windowing system. services.xserver.enable = true; @@ -75,7 +74,7 @@ ]; services.flatpak.enable = true; # Enable CUPS to print documents. - services.printing.enable = true; + services.printing.enable = false; # Enable sound with pipewire. hardware.pulseaudio.enable = false; @@ -93,7 +92,6 @@ #media-session.enable = true; }; - fonts = { enableDefaultPackages = true; fontconfig = { @@ -133,5 +131,4 @@ # wqy_zenhei ]; }; - } diff --git a/hosts/local/ohira/configuration.nix b/hosts/local/ohira/configuration.nix index e5316f5..480926a 100644 --- a/hosts/local/ohira/configuration.nix +++ b/hosts/local/ohira/configuration.nix @@ -82,7 +82,7 @@ }; # Enable CUPS to print documents. - services.printing.enable = true; + services.printing.enable = false; # Enable sound with pipewire. hardware.pulseaudio.enable = false; -- cgit v1.2.3