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

66 lines
1.6 KiB
Nix
Raw Normal View History

2024-01-03 14:25:06 +01:00
{ pkgs, inputs, theme, ... }: {
2023-08-31 13:22:44 +02:00
imports = [
2024-01-03 14:25:06 +01:00
inputs.stylix.homeManagerModules.stylix
2023-09-29 05:46:20 +02:00
./themes/${theme}
2023-08-31 14:34:51 +02:00
# GTK theme applied in home-manager/common/software/cli/bash.nix
2023-09-29 05:46:20 +02:00
# Theme agnostic configs
2023-11-20 12:31:22 +01:00
./common/hyprland/hyprland-binds.nix
2023-09-29 05:46:20 +02:00
./common/swayosd/swayosd-conf.nix
./common/waybar/scripts.nix
2023-08-31 13:22:44 +02:00
];
2024-01-03 14:28:18 +01:00
2024-01-04 06:39:52 +01:00
services.gammastep = {
enable = true;
provider = "geoclue2";
tray = true;
dawnTime = "6:00-7:45";
duskTime = "18:35-20:15";
};
gtk.enable = true;
stylix = {
2024-01-04 10:44:42 +01:00
image = /etc/nixos/git/wallpapers/stylix/wallpaper2.jpg;
2024-01-04 06:39:52 +01:00
autoEnable = true;
2024-01-04 14:40:07 +01:00
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
2024-01-04 06:39:52 +01:00
polarity = "dark";
targets = {
2024-01-04 11:41:36 +01:00
vscode.enable = true;
kitty = {
enable = true;
2024-01-04 11:47:34 +01:00
variant256Colors = true;
2024-01-04 11:41:36 +01:00
};
2024-01-04 06:39:52 +01:00
waybar = {
2024-01-04 10:42:07 +01:00
enable = true;
enableCenterBackColors = true;
enableLeftBackColors = true;
enableRightBackColors = true;
2024-01-04 06:39:52 +01:00
};
};
fonts = {
2024-01-04 10:42:07 +01:00
sizes = {
2024-01-04 10:54:34 +01:00
desktop = 12;
popups = 12;
terminal = 12;
applications = 12;
2024-01-04 10:42:07 +01:00
};
2024-01-04 06:39:52 +01:00
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";
};
};
};
2023-11-20 12:02:34 +01:00
}