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

66 lines
1.5 KiB
Nix
Raw Normal View History

2024-04-08 14:45:56 +02:00
{ pkgs, theme, lib, ... }: {
2023-08-31 13:22:44 +02:00
imports = [
2024-01-05 08:10:10 +01:00
./components
./assets/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;
2024-01-05 14:30:42 +01:00
latitude = "35.62370";
longitude = "134.85414";
2024-01-04 06:39:52 +01:00
};
gtk.enable = true;
2024-04-08 14:45:56 +02:00
2024-04-29 14:01:46 +02:00
# Disable tmux/zellij on Hyprland
2024-04-29 13:12:53 +02:00
programs.bash.sessionVariables = { DISABLE_TMUX = "true"; };
2024-04-29 13:13:53 +02:00
programs.fish.shellInit = ''set DISABLE_TMUX "true" '';
2024-04-08 14:57:39 +02:00
2024-01-04 06:39:52 +01:00
stylix = {
2024-02-14 05:49:43 +01:00
image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png;
2024-01-07 07:46:30 +01:00
opacity = {
2024-01-07 07:48:21 +01:00
desktop = 0.7;
popups = 0.7;
2024-01-07 07:46:30 +01:00
applications = 1.0;
2024-01-07 07:47:02 +01:00
terminal = 1.0;
2024-01-07 07:46:30 +01:00
};
2024-01-30 12:54:57 +01:00
autoEnable = true;
2024-01-04 06:39:52 +01:00
targets = {
2024-01-04 11:41:36 +01:00
kitty = {
2024-01-29 09:47:50 +01:00
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;
2024-01-06 12:33:33 +01:00
enableCenterBackColors = false;
enableLeftBackColors = false;
enableRightBackColors = false;
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 = {
2024-01-19 04:21:26 +01:00
package = pkgs.hack-font;
name = "Hack Nerd Font Regular";
2024-01-04 06:39:52 +01:00
};
sansSerif = {
2024-01-19 04:21:26 +01:00
package = pkgs.hack-font;
name = "Hack Nerd Font Regular";
2024-01-04 06:39:52 +01:00
};
monospace = {
2024-01-19 04:21:26 +01:00
package = pkgs.hack-font;
name = "Hack Nerd Font Mono Regular";
2024-01-04 06:39:52 +01:00
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
2023-11-20 12:02:34 +01:00
}