34 lines
983 B
Nix
34 lines
983 B
Nix
{ pkgs, inputs, config, lib, ... }:
|
|
with lib;
|
|
let cfg = config.roles.kmscon;
|
|
in {
|
|
options.roles.kmscon = { enable = mkEnableOption "roles kmscon"; };
|
|
config = mkIf cfg.enable {
|
|
services = {
|
|
kmscon = {
|
|
enable = true;
|
|
fonts = [{
|
|
# name = "Source Code Pro";
|
|
name = "FiraCode Nerd Font Mono";
|
|
package = pkgs.nerd-fonts.fira-code;
|
|
}];
|
|
extraConfig = ''
|
|
font-size=18
|
|
palette=custom
|
|
palette-black=33, 34, 44
|
|
palette-cyan=128, 255, 234
|
|
palette-dark-grey=182, 185, 201
|
|
palette-green=138, 255, 128
|
|
palette-dark-grey=65, 69, 88
|
|
palette-light-grey=98, 103, 132
|
|
palette-light-green=208, 255, 204
|
|
palette-light-red=255, 212, 204
|
|
palette-light-yellow=255, 255, 204
|
|
palette-red=255, 149, 128
|
|
palette-white=248, 248, 242
|
|
palette-yellow=255, 255, 128
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|