hackens-org-configurations/profiles/shared-hackens/i3.nix

52 lines
969 B
Nix
Raw Normal View History

2022-07-30 08:44:32 +02:00
{ pkgs, config, lib, ... }:
2021-11-02 19:30:28 +01:00
{
environment.pathsToLink = [ "/libexec" ];
environment.sessionVariables.TERMINAL = [ "kitty" ];
environment.variables = {
TERMINAL = "kitty";
BROWSER = "firefox";
};
services.xserver = {
2022-07-30 08:44:32 +02:00
displayManager = lib.mkIf (!config.services.xserver.displayManager.gdm.enable) {
2021-11-02 19:30:28 +01:00
autoLogin = {
enable = true;
user = "hackens";
};
};
windowManager.i3 = {
enable = true;
extraSessionCommands = ''
2022-07-30 08:44:32 +02:00
${pkgs.xorg.xset}/bin/xset r rate 200 50
2021-11-02 19:30:28 +01:00
'';
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;
};
}