global/kmscon: init, refactored from software/console
This commit is contained in:
parent
9041ce8142
commit
81a64e3c22
2 changed files with 17 additions and 38 deletions
17
modules/global/kmscon.nix
Normal file
17
modules/global/kmscon.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.kmscon = {
|
||||
enable = true;
|
||||
hwRender = true;
|
||||
useXkbConfig = true;
|
||||
fonts = [
|
||||
(rec {
|
||||
name = "DejaVuSansMono";
|
||||
package = (pkgs.nerdfonts.override { fonts = [ name ]; });
|
||||
})
|
||||
];
|
||||
extraConfig = ''
|
||||
font-size=14
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue