mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
fixed to_system.sh script
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
parent
434324e584
commit
e34ea114a3
@ -5,7 +5,7 @@
|
|||||||
cp configuration.nix /etc/nixos/.
|
cp configuration.nix /etc/nixos/.
|
||||||
cp -r programs /etc/nixos/.
|
cp -r programs /etc/nixos/.
|
||||||
mkdir -p /etc/nixos/machine
|
mkdir -p /etc/nixos/machine
|
||||||
for machine in `exa --all -l machine | grep "^d" | cut -d" " -f8`; do
|
for machine in `ls -al machine | grep "^d" | rev | cut -d" " -f1 | rev`; do
|
||||||
cp -r machine/$machine /etc/nixos/machine/.
|
cp -r machine/$machine /etc/nixos/machine/.
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user