Merge branch 'master' of ssh://dev.mc-fucker.cool:2222/mc-fucker/nixos-config
This commit is contained in:
commit
7d921f79a3
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ if [[ "$_hostname" == "nixos" || "$_hostname" == "" ]]; then
|
|||
echo 'Please set your hostname to somethin meaningful with `hostname $NAME`!'
|
||||
exit 1
|
||||
fi
|
||||
cd "/etc/nixos"
|
||||
cd "/etc/nixos" || cd "/mnt/etc/nixos"
|
||||
if [[ ! -d "systems/$_hostname" ]]; then
|
||||
mkdir "systems/$_hostname"
|
||||
ln ./*.nix "systems/$_hostname"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue