mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 11:14:08 +09:00
fix: keep niri as default graphical session
This commit is contained in:
@@ -15,19 +15,27 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.xwayland.enable = true;
|
||||
|
||||
# Keep global Wayland portal settings in this module so hardware/application
|
||||
# modules do not each append their own portal backends.
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common.default = [
|
||||
common.default = [ "gtk" ];
|
||||
niri.default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
];
|
||||
gnome.default = [
|
||||
"gnome"
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user