nix/home-manager/common/desktops/hyprland/default.nix
2024-01-29 17:47:50 +09:00

75 lines
1.8 KiB
Nix

{ pkgs, inputs, theme, lib, ... }: {
imports = [
inputs.stylix.homeManagerModules.stylix
../../../../stylix/${theme}
./components
./assets/waybar/scripts.nix
];
services.gammastep = {
enable = true;
latitude = "35.62370";
longitude = "134.85414";
};
gtk.enable = true;
stylix = {
image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.png;
opacity = {
desktop = 0.7;
popups = 0.7;
applications = 1.0;
terminal = 1.0;
};
autoEnable = false;
targets = {
bat.enable = true;
emacs.enable = true;
firefox.enable = true;
gtk.enable = true;
hyprland.enable = true;
mako.enable = true;
rofi.enable = true;
swaylock.enable = true;
vim.enable = true;
tmux.enable = true;
xresources.enable = true;
vscode.enable = true;
kitty = {
enable = true;
variant256Colors = true;
};
waybar = {
enable = true;
enableCenterBackColors = false;
enableLeftBackColors = false;
enableRightBackColors = false;
};
};
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";
};
};
};
}