feat: move console and locale to core
This commit is contained in:
parent
4d5683fa2b
commit
acb964f7f2
4 changed files with 16 additions and 9 deletions
|
@ -33,14 +33,6 @@
|
||||||
wireless.interfaces = [ "wlp41s0" ];
|
wireless.interfaces = [ "wlp41s0" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
console = {
|
|
||||||
font = "Lat2-Terminus16";
|
|
||||||
keyMap = "us";
|
|
||||||
earlySetup = true;
|
|
||||||
packages = [ ];
|
|
||||||
};
|
|
||||||
services.kmscon.enable = true;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
9
profiles/core/console.nix
Normal file
9
profiles/core/console.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }: {
|
||||||
|
console = {
|
||||||
|
font = "Lat2-Terminus16";
|
||||||
|
earlySetup = true;
|
||||||
|
packages = [ ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.kmscon.enable = true;
|
||||||
|
}
|
7
profiles/core/locale.nix
Normal file
7
profiles/core/locale.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }: {
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
console.keyMap = "us";
|
||||||
|
services.xserver.layout = "us";
|
||||||
|
|
||||||
|
time.timeZone = "America/New_York";
|
||||||
|
}
|
|
@ -1,7 +1,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = "us";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue