nix/home-manager/common/desktops/hyprland/default.nix
2024-01-04 22:40:07 +09:00

65 lines
1.6 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/atelier-cave.yaml";
polarity = "dark";
targets = {
vscode.enable = true;
kitty = {
enable = true;
variant256Colors = true;
};
waybar = {
enable = true;
enableCenterBackColors = true;
enableLeftBackColors = true;
enableRightBackColors = true;
};
};
fonts = {
sizes = {
desktop = 12;
popups = 12;
terminal = 12;
applications = 12;
};
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";
};
};
};
}