mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
@@ -1,10 +1,12 @@
|
||||
# installation script...
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check if on nixos
|
||||
# check if ./hosts exist
|
||||
# check if gum is installed (dependencie)
|
||||
# save path
|
||||
# remove .git
|
||||
# git init and initial commit
|
||||
# create custom configuration
|
||||
# save it to ./hosts
|
||||
# https://github.com/anotherhadi/nixy
|
||||
# Installation script: Should be run on fresh nixos install.
|
||||
|
||||
printf "\n\e[0;92m- \e[0m\e[1;77mNixy's Installation Script\e[0;96m [anotherhadi/nixy]\e[0m"
|
||||
|
||||
# Check if we're on the good directory
|
||||
[[ -f "./docs/scripts/install.sh" ]] || (printf "\n\e[0;91mx \e[0m\e[1;77mNot in the project root directory\e[0m"; exit 1)
|
||||
DIR=$(pwd)
|
||||
|
||||
# Create a new configuration
|
||||
|
||||
Reference in New Issue
Block a user