summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hosts/thinklappi/default.nix4
-rw-r--r--sys/default.nix1
-rw-r--r--sys/keyboard/default.nix6
3 files changed, 7 insertions, 4 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
index bd9e1e3..d05b3e4 100644
--- a/hosts/thinklappi/default.nix
+++ b/hosts/thinklappi/default.nix
@@ -9,10 +9,6 @@
   ];
 
   services = {
-    xserver = {
-      layout = "de";
-      xkbOptions = "grp:win_space_toggle";
-    };
     pipewire = {
       enable = true;
       alsa.enable = true;
diff --git a/sys/default.nix b/sys/default.nix
index 2b5f9d7..c0796b4 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -2,6 +2,7 @@
   imports = [
     ./desktop/gnome
     ./environment
+    ./keyboard
     ./nix
     ./packages
     ./services
diff --git a/sys/keyboard/default.nix b/sys/keyboard/default.nix
new file mode 100644
index 0000000..9b755d3
--- /dev/null
+++ b/sys/keyboard/default.nix
@@ -0,0 +1,6 @@
+{...}: {
+  services.xserver = {
+    layout = "de";
+    xkbOptions = "grp:win_space_toggle";
+  };
+}