diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 13 | ||||
-rw-r--r-- | accounts/gkleen@sif/zshrc | 6 |
2 files changed, 19 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 | } |
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index c6052ae3..75a4497c 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
@@ -118,6 +118,12 @@ dir() { | |||
118 | nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} ${modifyPDF:t:r}_%0d.png | 118 | nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} ${modifyPDF:t:r}_%0d.png |
119 | unpack=false | 119 | unpack=false |
120 | ;; | 120 | ;; |
121 | application/octet-stream) | ||
122 | if [[ $(file --brief --dereferenc ${templateArchive}) =~ Squashfs ]]; then | ||
123 | nix shell nixos#squashfsTools -c unsquashfs -d . ${templateArchive} | ||
124 | unpack=false | ||
125 | fi | ||
126 | ;; | ||
121 | *) | 127 | *) |
122 | tar -xvaf ${templateArchive} | 128 | tar -xvaf ${templateArchive} |
123 | unpack=false | 129 | unpack=false |