nix/home-manager/common/desktops/hyprland/default.nix

70 lines
1.6 KiB
Nix

{ pkgs, ... }: {
imports = [
./components
./assets/waybar/scripts.nix
];
# TODO Update this when I move
services.gammastep = {
enable = true;
latitude = "52.23";
longitude = "21.01";
};
gtk.enable = true;
# Disable tmux/zellij on Hyprland
programs.bash.sessionVariables = { DISABLE_TMUX = "true"; };
programs.fish.shellInit = ''set DISABLE_TMUX "true" '';
stylix = {
enable = true;
autoEnable = true;
opacity = {
desktop = 0.7;
popups = 0.7;
applications = 1.0;
terminal = 1.0;
};
targets = {
mako.enable = true;
kitty = {
enable = true;
variant256Colors = true;
};
waybar = {
enable = true;
enableCenterBackColors = false;
enableLeftBackColors = false;
enableRightBackColors = false;
};
};
cursor = {
size = 24;
};
fonts = {
sizes = {
desktop = 12;
popups = 12;
terminal = 12;
applications = 12;
};
serif = {
package = pkgs.hack-font;
name = "Hack Nerd Font Regular";
};
sansSerif = {
package = pkgs.hack-font;
name = "Hack Nerd Font Regular";
};
monospace = {
package = pkgs.hack-font;
name = "Hack Nerd Font Mono Regular";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
}