summaryrefslogtreecommitdiff
path: root/mini/install.txt
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-03-25 20:03:49 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-03-25 20:03:49 +0100
commit4464c6638659e0bfaf9a43621a27f8e3a92c5380 (patch)
treee95ce4773064fd95ffe894f15293ad80fba305fa /mini/install.txt
parentf6503be17371b1e13b2e5d25e103f10ee61f57c4 (diff)
use btrfs again
Diffstat (limited to 'mini/install.txt')
-rw-r--r--mini/install.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/mini/install.txt b/mini/install.txt
index 73ec634..2c834c0 100644
--- a/mini/install.txt
+++ b/mini/install.txt
@@ -124,6 +124,10 @@ mount --bind /mnt/data/home /mnt/home
mount --bind /mnt/data/root /mnt/root
mount --bind /mnt/data/nixos/$HOST /mnt/etc/nixos
+# create fake /data to have the right paths
+mkdir -p /data
+mount --bind /mnt/data /data
+
# take a look
mount
@@ -137,17 +141,15 @@ cp /mnt/etc/nixos/configuration.nix /tmp
# copy config data
-# patch some paths there
-
sudo scp -r /data/nixos root@192.168.13.100:/mnt/data
# install
-nixos-install --no-root-passwd --root /mnt
+nixos-install --option experimental-features 'nix-command flakes' --no-root-passwd --root /mnt
# unmount all stuff
-umount -Rl /mnt
+umount -Rl /data /mnt
cryptsetup luksClose crypt-system
# sync all /data after the install