diff --git a/home/linux/hyprland/default.nix b/home/linux/hyprland/default.nix index 28e692a9..fcd81e0c 100644 --- a/home/linux/hyprland/default.nix +++ b/home/linux/hyprland/default.nix @@ -1,12 +1,12 @@ {pkgs, hyprland, catppuccin-hyprland, ...}: { imports = [ - hyprland.homeManagerModules.default + # hyprland.homeManagerModules.default ./anyrun.nix ./wayland-apps.nix ]; - wayland.windowManager.hyprland.enable = true; + # wayland.windowManager.hyprland.enable = true; # hyprland configs, based on https://github.com/notwidow/hyprland home.file.".config/hypr" = { diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index 8f2d9782..62bfb20b 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -10,9 +10,17 @@ ########################################################################################################## imports = [ - hyprland.nixosModules.default + # hyprland.nixosModules.default ]; + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + ]; + }; + environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw services = { gvfs.enable = true; # Mount, trash, and other functionalities