update scripts to local path, use eachother, and purge garbage
causing issues right now
This commit is contained in:
@ -1,2 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo nixos-rebuild switch --flake /etc/nixos/#default
|
|
||||||
|
# Rebuild the system
|
||||||
|
sudo nixos-rebuild switch --flake ./#default
|
||||||
|
|
||||||
|
# Clean up old generations older than 90 days
|
||||||
|
sudo nix-collect-garbage --delete-older-than 90d
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo nix flake update /etc/nixos
|
|
||||||
sudo nixos-rebuild switch --flake /etc/nixos/#default
|
# Update the system
|
||||||
|
sudo nix flake update ./
|
||||||
|
|
||||||
|
# Rebuild the system
|
||||||
|
./rebuild-nix-system.sh
|
||||||
|
Reference in New Issue
Block a user