allow xdg portal on nixos config again
This commit is contained in:
parent
f18bdc1097
commit
08709cf1a9
2 changed files with 11 additions and 2 deletions
|
|
@ -98,7 +98,6 @@ inputs: all: {
|
||||||
# canvasblocker
|
# canvasblocker
|
||||||
sponsorblock
|
sponsorblock
|
||||||
stylus
|
stylus
|
||||||
vimium
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,17 @@ in {
|
||||||
options.ezpc.enable = mkEnableOption "Enable ezpc system stuff";
|
options.ezpc.enable = mkEnableOption "Enable ezpc system stuff";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
config = {
|
||||||
|
common.default = ["gtk"];
|
||||||
|
hyprland.default = ["gtk" "hyprland"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
QT_QPA_PLATFORM = "wayland;xcb";
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue