Switching to flakes and adding home-manager

This commit is contained in:
Lyes Saadi 2024-04-24 20:55:22 +02:00
parent 32e9c2b93c
commit 97d648948f
No known key found for this signature in database
GPG key ID: 17418538BAA17767
9 changed files with 124 additions and 26 deletions

10
up.sh
View file

@ -2,11 +2,11 @@
rm *.qcow2 result 2> /dev/null
if [ -n "$1" ]; then
echo "Changing hardware"
cp hardware/"$1".nix hardware.nix
exit 0
fi
# if [ -n "$1" ]; then
# echo "Changing hardware"
# cp hardware/"$1".nix hardware.nix
# exit 0
# fi
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"