templates downloading via git and submodules
parent
9100484dda
commit
7a35fcc2c8
@ -1,3 +1,7 @@
|
|||||||
all:
|
all:
|
||||||
nixos-generate-config --root /mnt
|
nixos-generate-config --root /mnt
|
||||||
cp -r nixos-template-base /mnt/etc/nixos/
|
git config --global user.email "nixos-live@example.org"
|
||||||
|
git config --global user.name "NixOS Live"
|
||||||
|
cd /mnt/etc/nixos && git init . && git add . && git commit -m "initial commit"
|
||||||
|
cd /mnt/etc/nixos && git submodule add http://gogs.prunetwork.fr:80/nixos-config/nixos-template-base.git base
|
||||||
|
cd /mnt/etc/nixos && git submodule add http://gogs.prunetwork.fr:80/nixos-config/nixos-template-desktop.git desktop
|
||||||
|
Loading…
Reference in New Issue