add hardware config handling to bootstrap
This commit is contained in:
+5
-2
@@ -92,8 +92,11 @@ mkdir -p /mnt/home/blake/.config/sops/age
|
|||||||
# --- move config ---
|
# --- move config ---
|
||||||
echo "moving nix config into /mnt/home/blake/.nix ..."
|
echo "moving nix config into /mnt/home/blake/.nix ..."
|
||||||
cp -r /bootstrap_nix /mnt/home/blake/.nix
|
cp -r /bootstrap_nix /mnt/home/blake/.nix
|
||||||
#echo "moving hardware into /mnt/home/blake/.nix/hosts/nixos/$HOSTNAME ..."
|
|
||||||
#cp /mnt/etc/nixos/hardware-configuration.nix /mnt/home/blake/.nix/hosts/nixos/$HOSTNAME
|
echo "moving hardware into /mnt/home/blake/.nix/hosts/nixos/$HOSTNAME ..."
|
||||||
|
cp /mnt/etc/nixos/hardware-configuration.nix /mnt/home/blake/.nix/hosts/nixos/$HOSTNAME
|
||||||
|
cd /mnt/home/blake/.nix
|
||||||
|
git add /mnt/home/blake/.nix/hosts/nixos/$HOSTNAME
|
||||||
|
|
||||||
|
|
||||||
# --- write age key ---
|
# --- write age key ---
|
||||||
|
|||||||
Reference in New Issue
Block a user