Fixed sway, waybar, xdg and pass
This commit is contained in:
parent
25fa736dff
commit
f138a25ad6
10 changed files with 65 additions and 65 deletions
|
@ -46,10 +46,6 @@ in
|
|||
time.timeZone = "Europe/Rome";
|
||||
location.provider = "geoclue2";
|
||||
|
||||
xdg.portal.enable = true; # is this needed?
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
|
||||
xdg.portal.gtkUsePortal = true;
|
||||
|
||||
nix = {
|
||||
autoOptimiseStore = true;
|
||||
gc.automatic = true;
|
||||
|
|
11
profiles/xdg/default.nix
Normal file
11
profiles/xdg/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
|
||||
xdg.portal.gtkUsePortal = true;
|
||||
services.pipewire.enable = true;
|
||||
environment.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
XDG_CURRENT_DESKTOP = "sway"; # https://github.com/emersion/xdg-desktop-portal-wlr/issues/20
|
||||
XDG_SESSION_TYPE = "wayland"; # https://github.com/emersion/xdg-desktop-portal-wlr/pull/11
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue