mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-05 06:39:54 +00:00
Update custom.just
Fixed some of the nix installation and uninstallation part
This commit is contained in:
parent
7dd9580f70
commit
03661585e1
@ -54,10 +54,20 @@ get-steamcmd:
|
||||
rm /tmp/steamcmd.tar.gz
|
||||
|
||||
install-nix:
|
||||
#!/usr/bin/env bash
|
||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||
nix_systemd_file_location='/nix/var/nix/profiles/default'
|
||||
if (( $EUID != 0 )); then
|
||||
echo "This script must be ran as root"
|
||||
exit 1
|
||||
fi
|
||||
rm -f /etc/systemd/system/nix-daemon.service
|
||||
rm -f /etc/systemd/system/nix-daemon.socket
|
||||
cp $nix_systemd_file_location/lib/systemd/system/nix-daemon.service /etc/systemd/system/nix-daemon.service
|
||||
cp $nix_systemd_file_location/lib/systemd/system/nix-daemon.socket /etc/systemd/system/nix-daemon.socket
|
||||
|
||||
remove-nix:
|
||||
curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/silverblue-nix-uninstaller.sh | bash
|
||||
sudo /nix/nix-installer uninstall
|
||||
|
||||
get-greenlight:
|
||||
echo 'Retrieving Greenlight'
|
||||
|
Loading…
x
Reference in New Issue
Block a user