forked from extern/nix-config
fish: Use XDG_DATA_DIRS for tauri applications
This fixes an issue where tauri applications would have small text when ran outside of a nix shell after being built.
This commit is contained in:
parent
bab881b769
commit
51530c8403
@ -1,3 +1,5 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
xdg.configFile."fish/config.fish".text = /* fish */ ''
|
xdg.configFile."fish/config.fish".text = /* fish */ ''
|
||||||
set -U fish_greeting ""
|
set -U fish_greeting ""
|
||||||
@ -6,6 +8,7 @@
|
|||||||
export GOPATH="$HOME/.go"
|
export GOPATH="$HOME/.go"
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
export TERMCMD="kitty --single-instance"
|
export TERMCMD="kitty --single-instance"
|
||||||
|
export XDG_DATA_DIRS="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS"
|
||||||
|
|
||||||
# Required to make gpg-agent work in cases like git commit
|
# Required to make gpg-agent work in cases like git commit
|
||||||
export GPG_TTY=(tty)
|
export GPG_TTY=(tty)
|
||||||
|
Loading…
Reference in New Issue
Block a user