flakes/cfg/winter/gui.nix

61 lines
1.2 KiB
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-12 10:31:20 +07:00
xserverArgs = [
"-ardelay 250"
"-arinterval 15"
];
2021-05-11 14:32:58 +07:00
};
2021-05-11 18:25:54 +07:00
desktopManager.xterm.enable = false;
2021-05-12 11:04:53 +07:00
libinput = {
enable = true;
mouse = {
accelSpeed = "0";
accelProfile = "flat";
};
};
2021-05-12 10:31:20 +07:00
xkbOptions = "caps:swapescape";
2021-05-11 14:32:58 +07:00
windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
extraPackages = with pkgs; [
2021-05-11 18:36:46 +07:00
dunst
feh
lxappearance
maim
picom
polybar
2021-05-11 14:32:58 +07:00
rofi
2021-05-11 18:36:46 +07:00
xclip
2021-05-11 14:32:58 +07:00
];
};
};
}