feat: move console and locale to core

This commit is contained in:
Infinidoge 2021-09-10 10:44:37 -04:00
parent 4d5683fa2b
commit acb964f7f2
4 changed files with 16 additions and 9 deletions

View file

@ -33,14 +33,6 @@
wireless.interfaces = [ "wlp41s0" ];
};
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "us";
earlySetup = true;
packages = [ ];
};
services.kmscon.enable = true;
}

View file

@ -0,0 +1,9 @@
{ ... }: {
console = {
font = "Lat2-Terminus16";
earlySetup = true;
packages = [ ];
};
services.kmscon.enable = true;
}

7
profiles/core/locale.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }: {
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "us";
services.xserver.layout = "us";
time.timeZone = "America/New_York";
}

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: {
services.xserver = {
enable = true;
layout = "us";
};
environment.systemPackages = with pkgs; [