nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

hyprland.nix (369B)


      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     ];
     13   programs.hyprland.enable = true;
     14   users.users.${username}.extraGroups = ["seat" "video"];
     15   services.seatd.enable = true;
     16 
     17   xdg.portal = {
     18     enable = true;
     19     xdgOpenUsePortal = true;
     20     };
     21 
     22 }