summaryrefslogtreecommitdiff
path: root/hosts/local
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
parent3d933f65cbe50c49d42fe97bd59c5bb15a3d4d09 (diff)
m
Diffstat (limited to 'hosts/local')
-rw-r--r--hosts/local/fw11/configuration.nix3
-rw-r--r--hosts/local/fw11/framework.kbd2
-rw-r--r--hosts/local/fw11/keyboard.nix1
-rw-r--r--hosts/local/gnome.nix5
-rw-r--r--hosts/local/ohira/configuration.nix2
5 files changed, 4 insertions, 9 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;
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;