Skip to content

Commit

Permalink
feat: add nix-app-icons.sh
Browse files Browse the repository at this point in the history
enables desktop icon support by adding to XDG_DATA_DIRS
  • Loading branch information
xynydev committed Apr 29, 2023
1 parent 25597c7 commit 0841738
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions usr/bin/ublue-nix-install
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.con

sleep 1

echo "Adding /etc/profile.d/nix-app-icons.sh"

sudo rm -f /etc/profile.d/nix-app-icons.sh
sudo tee /etc/profile.d/nix-app-icons.sh <<EOF
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"
EOF

sleep 1

echo "Installing nix backup"

sudo mkdir /opt/nixbackup
Expand Down

0 comments on commit 0841738

Please sign in to comment.