about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/common/system/default.nix5
-rw-r--r--modules/system/console/default.nix6
-rw-r--r--modules/system/default.nix2
3 files changed, 7 insertions, 6 deletions
diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix
index 6fc0651..3e546ff 100644
--- a/hosts/common/system/default.nix
+++ b/hosts/common/system/default.nix
@@ -11,11 +11,6 @@
     ./users.nix
   ];
 
-  console = {
-    font = "Lat2-Terminus16";
-    keyMap = "us";
-  };
-
   # It's always useful to have bash around
   environment.shells = [ pkgs.bashInteractive pkgs.zsh pkgs.fish ];
 }
diff --git a/modules/system/console/default.nix b/modules/system/console/default.nix
new file mode 100644
index 0000000..c9c24b0
--- /dev/null
+++ b/modules/system/console/default.nix
@@ -0,0 +1,6 @@
+{ ... }: {
+  console = {
+    font = "Lat2-Terminus16";
+    keyMap = "us";
+  };
+}
diff --git a/modules/system/default.nix b/modules/system/default.nix
index 94ac438..1003646 100644
--- a/modules/system/default.nix
+++ b/modules/system/default.nix
@@ -1 +1 @@
-{ ... }: { imports = [ ./nix ]; }
+{ ... }: { imports = [ ./console ./nix ]; }