From 2f18f69d9ced49bd0932c187d72a41ae9fea585e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 5 Apr 2022 17:54:30 -0700 Subject: console configuration is moved to a module --- hosts/common/system/default.nix | 5 ----- modules/system/console/default.nix | 6 ++++++ modules/system/default.nix | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 modules/system/console/default.nix 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 ]; } -- cgit 1.4.1