diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-05 17:54:30 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-05 17:54:30 -0700 |
commit | 2f18f69d9ced49bd0932c187d72a41ae9fea585e (patch) | |
tree | 7c8366f0814445908a6dc7473e186cf95eb714d8 | |
parent | create a profile for laptop (diff) | |
download | world-2f18f69d9ced49bd0932c187d72a41ae9fea585e.tar.gz |
console configuration is moved to a module
-rw-r--r-- | hosts/common/system/default.nix | 5 | ||||
-rw-r--r-- | modules/system/console/default.nix | 6 | ||||
-rw-r--r-- | modules/system/default.nix | 2 |
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 ]; } |