{ config, lib, pkgs, ... }: # let # enable_hyprland = # if config.networking.hostName == "marty-pc" then # true # else if config.networking.hostName == "marty-latitude" then # true # else if config.networking.hostName == "marty-server" then # false # else # false; # in { xdg.portal = { enable = true; configPackages = [ pkgs.xdg-desktop-portal-hyprland ]; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; }; programs = { kitty = { enable = true; }; hyprlock = { enable = true; }; }; wayland.windowManager.hyprland = { enable = true; settings = { exec-once = [ ]; "$mod" = "SUPER"; bind = [ "$mod, D, exec, walker" "$mod, return, exec, kitty" ]; }; }; home.sessionVariables.NIXOS_OZONE_WL = "1"; }