Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
fix: inconsistent dir naming in PR ublue-os#152 (ublue-os#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirnidrin authored Apr 11, 2023
1 parent e50c660 commit 8ff4824
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions usr/bin/ublue-nix-install
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.con

sleep 1

# nb stands for nix backup

echo "Installing nix backup"

sudo mkdir /opt/nixbackup
sudo cp -R /nix /opt/nb
sudo cp -R /nix /opt/nixbackup

sudo tee /opt/nb/reset-nix <<EOF
sudo tee /opt/nixbackup/reset-nix <<EOF
#!/bin/bash
sudo echo "Resetting nix..."
sudo rm -rf /nix/*
Expand Down

0 comments on commit 8ff4824

Please sign in to comment.