From 28c9799f601dae29efa26a6b1b8577785304177b Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Sun, 29 Jun 2025 18:18:27 +0530 Subject: [PATCH] hosts: move wayland portal to home Signed-off-by: Amneesh Singh --- home/natto/wayland.nix | 4 ++-- hosts/default.nix | 1 - hosts/wayland.nix | 11 ----------- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 hosts/wayland.nix 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 = "*"; - }; -}