hyprland.nix (537B)
1 { pkgs, username, ... }: 2 3 { 4 environment.systemPackages = with pkgs; [ 5 hyprcursor 6 hypridle 7 hyprland 8 seatd 9 swayimg 10 tofi 11 wl-clipboard 12 xdg-utils 13 ]; 14 programs.hyprland.enable = true; 15 users.users.${username}.extraGroups = ["seat" "video"]; 16 services.seatd.enable = true; 17 18 xdg.portal = { 19 enable = true; 20 extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; 21 config = { 22 common.default = "*"; 23 hyprland = { default = ["hyprland" "gtk"];}; 24 }; 25 }; 26 27 }