hosts: move wayland portal to home

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 18:18:27 +05:30
parent f9e29ce77f
commit 28c9799f60
3 changed files with 2 additions and 14 deletions

View File

@@ -1,8 +1,6 @@
{ pkgs, config, conf, inputs, ... }: { pkgs, config, conf, inputs, ... }:
{ {
imports = [ imports = [
inputs.hyprland.homeManagerModules.default
./ags ./ags
# ./eww # ./eww
]; ];
@@ -14,6 +12,8 @@
}; };
hyprland = { hyprland = {
enable = true; enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
xwayland = { xwayland = {
enable = true; enable = true;
}; };

View File

@@ -16,7 +16,6 @@ let
desktopModules = [ desktopModules = [
./programs/adb ./programs/adb
./services/xserver ./services/xserver
./wayland.nix
./sound.nix ./sound.nix
]; ];
in in

View File

@@ -1,11 +0,0 @@
{ inputs, pkgs, ... }:
{
xdg.portal = {
enable = true;
extraPortals = [
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
];
config.common.default = "*";
};
}