From 5d1bc2638819b8bcb8e88a4f2313c622872c6d30 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 21 Apr 2020 01:34:25 +0300 Subject: [PATCH] Update bootstrap --- bootstrap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 6376a33..0b35753 100755 --- a/bootstrap +++ b/bootstrap @@ -7,7 +7,6 @@ set -ex mkdir -p /mnt/home/balsoft/projects nixos-generate-config --root /mnt -echo import /home/balsoft/projects/nixos-config \"$(hostname)\" > /mnt/etc/nixos/configuration.nix cd /mnt/home/balsoft/projects [ -d nixos-config ] || git clone ssh://git@github.com/balsoft/nixos-config cd nixos-config @@ -43,4 +42,4 @@ mount --rbind /mnt/nix /nix nix build -f /tmp/nixpkgs/nixos system --substituters "https://cache.balsoft.ru https://cache.nixos.org" --no-require-sigs nixos-install --system ./result cd /mnt/home/balsoft -chmod 777 -R . +chown 1000:100 . -R