This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
24 lines
393 B
Nix
24 lines
393 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
in {
|
|
config = mkIf config.local.profiles.desktop.enable {
|
|
services.kmscon = {
|
|
enable = true;
|
|
fonts = [
|
|
{
|
|
name = "0xProto Nerd Font";
|
|
package = pkgs.nerd-fonts._0xproto;
|
|
}
|
|
];
|
|
extraConfig = ''
|
|
font-size=13
|
|
font-dpi=144
|
|
'';
|
|
};
|
|
};
|
|
}
|