flakes/modules/system/gui.nix

35 lines
698 B
Nix
Raw Normal View History

2021-05-11 14:32:58 +07:00
{ config, lib, pkgs, ... }: {
fonts = {
enableDefaultFonts = true;
fontconfig = {
defaultFonts = {
serif = ["NotoSerif"];
2021-05-11 18:36:46 +07:00
sansSerif = ["NotoSans"];
monospace = ["CascadiaCode"];
2021-05-11 14:32:58 +07:00
};
};
fonts = with pkgs; [
cascadia-code
font-awesome-ttf
font-awesome_4
hanazono
material-icons
noto-fonts
noto-fonts-cjk
noto-fonts-extra
open-sans
twemoji-color-font
unifont
];
};
services.xserver = {
enable = true;
autorun = false;
displayManager = {
lightdm.enable = lib.mkForce false;
startx.enable = true;
};
2021-05-11 18:25:54 +07:00
desktopManager.xterm.enable = false;
2021-05-11 14:32:58 +07:00
};
}