Enable XDG desktop portal
This commit is contained in:
parent
10189645cf
commit
6c1d0151fe
|
@ -1,10 +1,16 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
MOZ_USE_XINPUT2 = "1";
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
config.common.default = [ "gtk" ];
|
||||
};
|
||||
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./wltools.nix
|
||||
|
|
|
@ -7,13 +7,9 @@ in {
|
|||
home.packages = with pkgs; [
|
||||
swaybg
|
||||
swayidle
|
||||
wl-clipboard
|
||||
wtype
|
||||
wlroots
|
||||
grim
|
||||
slurp
|
||||
imv
|
||||
];
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
xdg.portal.config.hyprland.default = [ "hyprland" "gtk" ];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.swaylock-effects ];
|
||||
home.packages = with pkgs; [
|
||||
swaylock-effects
|
||||
wl-clipboard
|
||||
wtype
|
||||
wlroots
|
||||
grim
|
||||
slurp
|
||||
imv
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
"swaylock/config".text = ''
|
||||
|
|
Loading…
Reference in a new issue