Common/kmscon: enable
This commit is contained in:
parent
3f0333b4a0
commit
04163b2c79
2 changed files with 30 additions and 0 deletions
|
|
@ -3,5 +3,6 @@
|
||||||
./avahi.nix
|
./avahi.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./kmscon.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
29
roles/common/services/kmscon.nix
Normal file
29
roles/common/services/kmscon.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.kmscon = {
|
||||||
|
enable = true;
|
||||||
|
useXkbConfig = true;
|
||||||
|
fonts = [
|
||||||
|
{
|
||||||
|
name = "JetBrains Mono Nerd Font";
|
||||||
|
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
term=xterm-256color
|
||||||
|
font-size=10
|
||||||
|
'';
|
||||||
|
package = pkgs.kmscon.overrideAttrs (old: {
|
||||||
|
patches =
|
||||||
|
old.patches
|
||||||
|
++ [
|
||||||
|
# https://github.com/kmscon/kmscon/issues/133
|
||||||
|
(
|
||||||
|
pkgs.fetchpatch {
|
||||||
|
url = "https://github.com/Aetf/kmscon/pull/135.patch";
|
||||||
|
hash = "sha256-hJrKkONdQmz9gGMXbk11+4MF8Vn4guE3Bl1Ni6SGDw4=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue