aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/home/niri.nix24
1 files changed, 21 insertions, 3 deletions
diff --git a/share/home/niri.nix b/share/home/niri.nix
index eb5822d..8b2ad4c 100644
--- a/share/home/niri.nix
+++ b/share/home/niri.nix
@@ -2,13 +2,10 @@
pkgs,
config,
inputs,
- lib,
...
}:
let
- cfg = config.programs.niri;
tomlFormat = pkgs.formats.toml { };
- inherit (lib) mkIf;
in
{
imports = [
@@ -19,6 +16,7 @@ in
programs.kitty.enable = true;
home.packages = [
pkgs.wpaperd # for wpaperctl
+ pkgs.gnome-keyring
];
programs.niri.settings = {
@@ -244,6 +242,26 @@ in
};
};
+ xdg.portal = {
+ enable = true;
+ extraPortals = with pkgs; [
+ xdg-desktop-portal-gtk
+ xdg-desktop-portal-gnome
+ ];
+ xdgOpenUsePortal = true;
+ config = {
+ niri = {
+ default = [
+ "gnome"
+ "gtk"
+ ];
+ "org.freedesktop.impl.portal.Secret" = [
+ "gnome-keyring"
+ ];
+ };
+ };
+ };
+
# wpaperd manual config
#
# Can't use the HM module since it doesn't expose the service target as a