nix/home-manager/common/desktops/hyprland/default.nix
2024-01-04 18:44:42 +09:00

60 lines
1.5 KiB
Nix

{ pkgs, inputs, theme, ... }: {
imports = [
inputs.stylix.homeManagerModules.stylix
./themes/${theme}
# GTK theme applied in home-manager/common/software/cli/bash.nix
# Theme agnostic configs
./common/hyprland/hyprland-binds.nix
./common/swayosd/swayosd-conf.nix
./common/waybar/scripts.nix
];
services.gammastep = {
enable = true;
provider = "geoclue2";
tray = true;
dawnTime = "6:00-7:45";
duskTime = "18:35-20:15";
};
gtk.enable = true;
stylix = {
image = /etc/nixos/git/wallpapers/stylix/wallpaper2.jpg;
autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/zenburn.yaml";
polarity = "dark";
targets = {
waybar = {
enable = true;
enableCenterBackColors = true;
enableLeftBackColors = true;
enableRightBackColors = true;
};
};
fonts = {
sizes = {
desktop = 16;
popups = 16;
terminal = 14;
applications = 16;
};
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
monospace = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans Mono";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
}