{ pkgs, ... }: { imports = [ ./config.nix ./config/btop ./config/hypr ./config/kitty ./config/mako ./config/waybar ./config/wofi ]; services = { hyprpaper = { enable = true; settings = { preload = [ "~/.config/wallpapers/wall.png" ]; wallpaper = [ "DP-1, ~/.config/wallpapers/wall.png" "DP-2, ~/.config/wallpapers/wall.png" ]; splash = false; }; }; hypridle = { enable = true; settings = { general = { after_sleep_cmd = "hyprctl dispatch dpms on"; ignore_dbus_inhibit = false; lock_cmd = "hyprlock"; }; listener = [ { timeout = 3600; } ]; }; }; }; programs.hyprlock = { enable = true; settings = { background = [ { monitor = ""; path = "/home/matt/.config/wallpapers/wall.png"; # supports png, jpg, webp (no animations, though) color = "rgba(25, 20, 20, 1.0)"; # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_passes = "3"; # 0 disables blurring blur_size = "7"; noise = "0.0117"; contrast = "0.8916"; brightness = "0.8172"; vibrancy = "0.1696"; vibrancy_darkness = "0.0"; } ]; input-field = [ { size = "200, 50"; position = "0, -80"; monitor = ""; dots_center = true; fade_on_empty = false; font_color = "rgb(202, 211, 245)"; inner_color = "rgb(91, 96, 120)"; outer_color = "rgb(24, 25, 38)"; outline_thickness = 5; placeholder_text = ''Password...''; shadow_passes = 2; } ]; }; }; home.sessionVariables = { BROWSER = "firefox"; EDITOR = "nano"; TERMINAL = "kitty"; NIXOS_OZONE_WL = "1"; QT_QPA_PLATFORMTHEME = "gtk3"; QT_SCALE_FACTOR = "1"; MOZ_ENABLE_WAYLAND = "1"; SDL_VIDEODRIVER = "wayland"; QT_QPA_PLATFORM = "wayland-egl"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; QT_AUTO_SCREEN_SCALE_FACTOR = "1"; GTK_CSD = "0"; # WLR_DRM_DEVICES = "/dev/dri/card0"; # WLR_NO_HARDWARE_CURSORS = "1"; CLUTTER_BACKEND = "wayland"; # WLR_RENDERER = "vulkan"; XCURSOR_THEME = "macOS-Monterey"; XCURSOR_SIZE = "24"; GTK_THEME="catppuccin-macchiato-blue-compact"; XDG_CURRENT_DESKTOP = "Hyprland"; XDG_SESSION_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; GTK_USE_PORTAL = "1"; NIXOS_XDG_OPEN_USE_PORTAL = "1"; XDG_CACHE_HOME = "\${HOME}/.cache"; XDG_CONFIG_HOME = "\${HOME}/.config"; #XDG_BIN_HOME = "\${HOME}/.local/bin"; XDG_DATA_HOME = "\${HOME}/.local/share"; }; home.pointerCursor = { gtk.enable = true; package = pkgs.apple-cursor; name = "macOS-Monterey"; size = 24; }; gtk = { enable = true; cursorTheme = { name = "macOS-Monterey"; # macOS-[BigSur, Monterey]-[ , White, White-Windows, Windows] package = pkgs.apple-cursor; }; theme = { name = "catppuccin-macchiato-blue-compact"; package = pkgs.catppuccin-gtk.override { size = "compact"; accents = ["blue"]; variant = "macchiato"; }; }; iconTheme = { name = "Colloid-dark"; # Colloid, Colloid-light, Colloid-dark package = pkgs.colloid-icon-theme; }; gtk3.extraConfig = { # gtk-application-prefer-dark-theme = true; "AdwStyleManager:color-scheme" = "ADW_COLOR_SCHEME_PREFER_DARK"; }; gtk4.extraConfig = { # gtk-application-prefer-dark-theme = true; "AdwStyleManager:color-scheme" = "ADW_COLOR_SCHEME_PREFER_DARK"; }; }; }