a
This commit is contained in:
commit
2448f2fc1b
9 changed files with 285 additions and 0 deletions
61
cfg/winter/gui.nix
Normal file
61
cfg/winter/gui.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
fonts = {
|
||||
enableDefaultFonts = true;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = ["NotoSerif"];
|
||||
sansSerif = ["NotoSans"];
|
||||
monospace = ["CascadiaCode"];
|
||||
};
|
||||
};
|
||||
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;
|
||||
};
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
libinput.enable = true;
|
||||
config = ''
|
||||
Section "InputClass"
|
||||
Identifier "mouse accel"
|
||||
Driver "libinput"
|
||||
MatchIsPointer "on"
|
||||
Option "AccelProfile" "flat"
|
||||
Option "AccelSpeed" "0"
|
||||
EndSection
|
||||
'';
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
package = pkgs.i3-gaps;
|
||||
extraPackages = with pkgs; [
|
||||
dunst
|
||||
feh
|
||||
lxappearance
|
||||
maim
|
||||
picom
|
||||
polybar
|
||||
rofi
|
||||
xclip
|
||||
];
|
||||
};
|
||||
xkbOptions = "ctrl:swapescape";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue