Kieran's opinionated (and probably slightly dumb) nix config
1{ self, config, lib, pkgs, inputs, ... }: {
2 imports = [
3 inputs.hyprnix.homeManagerModules.hyprland
4 ./config.nix
5 ./windowrules.nix
6 ./keybinds.nix
7 ../waybar.nix
8 ];
9
10 wayland.windowManager.hyprland = {
11 enable = true;
12 package = pkgs.hyprland;
13 reloadConfig = true;
14 systemdIntegration = true;
15 recommendedEnvironment = true;
16
17 fufexan.enable = true;
18
19 xwayland.enable = true;
20
21 config.exec_once = [
22 # polkit agent, raises to root access with gui
23 "${lib.getExe pkgs.lxqt.lxqt-policykit}"
24 # allow apps with risen perms after agent to connect to local xwayland
25 "${lib.getExe pkgs.xorg.xhost} +local:"
26 ];
27 };
28}