summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-01-19 22:34:40 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2025-01-19 22:34:40 +0100
commitac4c501926839bc6f8a9ebff4de3c9eee2d24afe (patch)
tree9dcfa0679f0ded89a5fbb92a4aa602d57a5db387
parentef393fbd49ebd71f83a4bd218aac578a23342a7f (diff)
downloadnixos-ac4c501926839bc6f8a9ebff4de3c9eee2d24afe.tar
nixos-ac4c501926839bc6f8a9ebff4de3c9eee2d24afe.tar.gz
nixos-ac4c501926839bc6f8a9ebff4de3c9eee2d24afe.tar.bz2
nixos-ac4c501926839bc6f8a9ebff4de3c9eee2d24afe.tar.xz
nixos-ac4c501926839bc6f8a9ebff4de3c9eee2d24afe.zip
...
-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" = {