summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accounts/gkleen@sif/niri/default.nix14
-rw-r--r--hosts/sif/default.nix9
2 files changed, 9 insertions, 14 deletions
diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix
index 78d04c25..a774e483 100644
--- a/accounts/gkleen@sif/niri/default.nix
+++ b/accounts/gkleen@sif/niri/default.nix
@@ -125,20 +125,6 @@ in {
125 ]; 125 ];
126 126
127 config = { 127 config = {
128 xdg.portal = {
129 enable = true;
130 inherit (hostConfig.xdg.portal) extraPortals configPackages;
131 config.niri = {
132 default = ["gnome" "gtk"];
133 "org.freedesktop.impl.portal.FileChooser" = ["gtk"];
134 "org.freedesktop.impl.portal.OpenFile" = ["gtk"];
135 "org.freedesktop.impl.portal.Access" = ["gtk"];
136 "org.freedesktop.impl.portal.Notification" = ["gtk"];
137 "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
138 "org.freedesktop.impl.portal.Inhibit" = ["none"];
139 };
140 };
141
142 systemd.user.services.xwayland-satellite = { 128 systemd.user.services.xwayland-satellite = {
143 Unit = { 129 Unit = {
144 BindsTo = [ "graphical-session.target" ]; 130 BindsTo = [ "graphical-session.target" ];
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 9f35c52a..5a8fd59a 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -730,6 +730,15 @@ in {
730 xdg.portal = { 730 xdg.portal = {
731 enable = true; 731 enable = true;
732 extraPortals = with pkgs; [xdg-desktop-portal-gtk]; 732 extraPortals = with pkgs; [xdg-desktop-portal-gtk];
733 config.niri = {
734 default = ["gnome" "gtk"];
735 "org.freedesktop.impl.portal.FileChooser" = ["gtk"];
736 "org.freedesktop.impl.portal.OpenFile" = ["gtk"];
737 "org.freedesktop.impl.portal.Access" = ["gtk"];
738 "org.freedesktop.impl.portal.Notification" = ["gtk"];
739 "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
740 "org.freedesktop.impl.portal.Inhibit" = ["none"];
741 };
733 }; 742 };
734 743
735 environment.persistence."/.bcachefs" = { 744 environment.persistence."/.bcachefs" = {