hosts: move wayland portal to home
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -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;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,6 @@ let
 | 
				
			|||||||
  desktopModules = [
 | 
					  desktopModules = [
 | 
				
			||||||
    ./programs/adb
 | 
					    ./programs/adb
 | 
				
			||||||
    ./services/xserver
 | 
					    ./services/xserver
 | 
				
			||||||
    ./wayland.nix
 | 
					 | 
				
			||||||
    ./sound.nix
 | 
					    ./sound.nix
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,11 +0,0 @@
 | 
				
			|||||||
{ inputs, pkgs, ... }:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
  xdg.portal = {
 | 
					 | 
				
			||||||
    enable = true;
 | 
					 | 
				
			||||||
    extraPortals = [
 | 
					 | 
				
			||||||
      inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
 | 
					 | 
				
			||||||
    ];
 | 
					 | 
				
			||||||
    config.common.default = "*";
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user