feat: add a just setup command for setting up nix (#48)

* feat: add nix install script from bluefin / dnkmmr

* feat: add nix-me-up just cmd from bluefin

* feat: just update nix if installed

* feat: add nix-app-icons.sh
enables desktop icon support by adding to XDG_DATA_DIRS

* chore: remove nix update for now
this will be added in a later PR
This commit is contained in:
Eino Rauhala
2023-04-29 14:08:17 +03:00
committed by GitHub
parent c537104ba2
commit 1d208f6eae
3 changed files with 143 additions and 4 deletions

View File

@@ -56,8 +56,18 @@ setup-gaming:
flatpak override com.usebottles.bottles --user --filesystem=xdg-data/applications
flatpak override --user --env=MANGOHUD=1 com.valvesoftware.Steam
flatpak override --user --env=MANGOHUD=1 com.heroicgameslauncher.hgl
nix-me-up:
echo 'Setting phasers to kill. Installing nix.'
/usr/bin/ublue-nix-install
update:
#!/bin/bash
echo "Staging system update..."
rpm-ostree update
echo "Updating Flatpaks..."
flatpak update -y
distrobox upgrade -a
echo "Updating Distroboxes..."
distrobox upgrade -a