summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-12-11 08:45:08 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2024-12-11 08:45:08 +0100
commit7abac181d3c3cbb91d424fe0c973a5bc83df2aa9 (patch)
treedaf019b373d8b7b52c5cde6a68c713febf9b6506 /accounts/gkleen@sif/default.nix
parentcbd0ed9d451c3c4244de00e7edfdba828c48f6bf (diff)
downloadnixos-7abac181d3c3cbb91d424fe0c973a5bc83df2aa9.tar
nixos-7abac181d3c3cbb91d424fe0c973a5bc83df2aa9.tar.gz
nixos-7abac181d3c3cbb91d424fe0c973a5bc83df2aa9.tar.bz2
nixos-7abac181d3c3cbb91d424fe0c973a5bc83df2aa9.tar.xz
nixos-7abac181d3c3cbb91d424fe0c973a5bc83df2aa9.zip
...
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r--accounts/gkleen@sif/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index c6e479ec..c7588e2f 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -734,6 +734,7 @@ in {
734 args+=("$@") 734 args+=("$@")
735 exec -a emacsclient ${cfg.services.emacs.package}/bin/emacsclient "''${args[@]}" 735 exec -a emacsclient ${cfg.services.emacs.package}/bin/emacsclient "''${args[@]}"
736 ''; 736 '';
737 RCLONE_PASSWORD_COMMAND = "${pkgs.libsecret}/bin/secret-tool lookup service rclone";
737 }; 738 };
738 739
739 extraProfileCommands = '' 740 extraProfileCommands = ''
@@ -924,6 +925,18 @@ in {
924 enable = true; 925 enable = true;
925 settings = import ./hyprland.nix inputs; 926 settings = import ./hyprland.nix inputs;
926 }; 927 };
928
929 xdg.portal = {
930 enable = true;
931 xdgOpenUsePortal = true;
932 config = {
933 common.default = [ "gtk" ];
934 hyprland.default = [ "gtk" "hyprland" ];
935 };
936 extraPortals = with pkgs; [
937 xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-desktop-portal-hyprland
938 ];
939 };
927 }; 940 };
928 }; 941 };
929} 942}