nix/home-manager/common/desktops/hyprland/default.nix
2024-01-05 16:10:10 +09:00

59 lines
1.3 KiB
Nix

{ pkgs, inputs, theme, color, ... }: {
imports = [
inputs.stylix.homeManagerModules.stylix
./colors/${color}.nix
./components
./assets/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 = {
autoEnable = true;
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";
};
};
};
}