51 lines
969 B
Nix
51 lines
969 B
Nix
{ pkgs, config, lib, ... }:
|
|
{
|
|
environment.pathsToLink = [ "/libexec" ];
|
|
environment.sessionVariables.TERMINAL = [ "kitty" ];
|
|
environment.variables = {
|
|
TERMINAL = "kitty";
|
|
BROWSER = "firefox";
|
|
};
|
|
services.xserver = {
|
|
displayManager = lib.mkIf (!config.services.xserver.displayManager.gdm.enable) {
|
|
autoLogin = {
|
|
enable = true;
|
|
user = "hackens";
|
|
};
|
|
};
|
|
|
|
windowManager.i3 = {
|
|
enable = true;
|
|
extraSessionCommands = ''
|
|
${pkgs.xorg.xset}/bin/xset r rate 200 50
|
|
'';
|
|
extraPackages = with pkgs; [
|
|
rofi
|
|
dunst
|
|
i3status-rust
|
|
i3lock
|
|
kitty
|
|
];
|
|
};
|
|
};
|
|
|
|
fonts.fonts = with pkgs; [
|
|
hack-font
|
|
noto-fonts
|
|
noto-fonts-cjk
|
|
noto-fonts-emoji
|
|
liberation_ttf
|
|
fira-code
|
|
fira-code-symbols
|
|
dina-font
|
|
proggyfonts
|
|
powerline-fonts
|
|
font-awesome
|
|
];
|
|
|
|
services.picom = {
|
|
enable = true;
|
|
vSync = true;
|
|
};
|
|
}
|
|
|