summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-12-18 00:01:32 +0100
committerSilas Schöffel <sils@sils.li>2024-12-18 00:01:32 +0100
commit7ecab07fd8716cb1cbe3b6f61042909e12195e6d (patch)
tree95c1fd90309354f275eada49fe881b0ac6dd1f46
parentimpermanence: persist /var/lib/nixos (diff)
downloadnix-config-7ecab07fd8716cb1cbe3b6f61042909e12195e6d.tar.gz
nix-config-7ecab07fd8716cb1cbe3b6f61042909e12195e6d.zip
keyboard: move to basesystem
-rw-r--r--modules/nixos/sils/basesystem.nix9
-rw-r--r--sys/default.nix1
-rw-r--r--sys/keyboard/default.nix10
3 files changed, 9 insertions, 11 deletions
diff --git a/modules/nixos/sils/basesystem.nix b/modules/nixos/sils/basesystem.nix
index 5684618..0e9f6de 100644
--- a/modules/nixos/sils/basesystem.nix
+++ b/modules/nixos/sils/basesystem.nix
@@ -35,5 +35,14 @@ in {
       cpu.intel.updateMicrocode = true;
       enableRedistributableFirmware = true;
     };
+
+    services.xserver.xkb = {
+      layout = "de";
+      options = "grp:win_space_toggle";
+    };
+    console = {
+      font = "Lat2-Terminus16";
+      keyMap = "de";
+    };
   };
 }
diff --git a/sys/default.nix b/sys/default.nix
index 0ada9b1..0eeeb35 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -1,6 +1,5 @@
 {...}: {
   imports = [
-    ./keyboard
     ./packages
     ./services
     ./sound
diff --git a/sys/keyboard/default.nix b/sys/keyboard/default.nix
deleted file mode 100644
index 999ebc8..0000000
--- a/sys/keyboard/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{...}: {
-  services.xserver.xkb = {
-    layout = "de";
-    options = "grp:win_space_toggle";
-  };
-  console = {
-    font = "Lat2-Terminus16";
-    keyMap = "de";
-  };
-}