diff --git a/home/natto/wayland.nix b/home/natto/wayland.nix index 0008d86..eb8f9e4 100644 --- a/home/natto/wayland.nix +++ b/home/natto/wayland.nix @@ -1,8 +1,6 @@ { pkgs, config, conf, inputs, ... }: { imports = [ - inputs.hyprland.homeManagerModules.default - ./ags # ./eww ]; @@ -14,6 +12,8 @@ }; hyprland = { enable = true; + package = inputs.hyprland.packages.${pkgs.system}.hyprland; + portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; xwayland = { enable = true; }; diff --git a/hosts/default.nix b/hosts/default.nix index f58c8fc..ad12dd1 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -16,7 +16,6 @@ let desktopModules = [ ./programs/adb ./services/xserver - ./wayland.nix ./sound.nix ]; in diff --git a/hosts/wayland.nix b/hosts/wayland.nix deleted file mode 100644 index 63180c1..0000000 --- a/hosts/wayland.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ inputs, pkgs, ... }: - -{ - xdg.portal = { - enable = true; - extraPortals = [ - inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland - ]; - config.common.default = "*"; - }; -}