mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-05 11:13:11 +00:00
nix flake lock --update-input sp-modules
This commit is contained in:
parent
623856265c
commit
04260e0852
|
@ -263,7 +263,8 @@ installNix() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running nix installer..."
|
echo "Running nix installer..."
|
||||||
if $SHELL "${tmpNixInstall}" --daemon; then
|
if $SHELL "${tmpNixInstall}" \
|
||||||
|
--daemon --no-channel-add --daemon-user-count 4; then
|
||||||
echo "Nix is installed"
|
echo "Nix is installed"
|
||||||
rm "${tmpNixInstall}"
|
rm "${tmpNixInstall}"
|
||||||
else
|
else
|
||||||
|
@ -295,6 +296,9 @@ infect() {
|
||||||
# is it needed?
|
# is it needed?
|
||||||
# source ~/.nix-profile/etc/profile.d/nix.sh
|
# source ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
|
||||||
|
cd ${LOCAL_FLAKE_DIR}
|
||||||
|
/root/.nix-profile/bin/nix flake lock --update-input sp-modules
|
||||||
|
|
||||||
echo "nix build the configuration flake..."
|
echo "nix build the configuration flake..."
|
||||||
if ! /root/.nix-profile/bin/nix build \
|
if ! /root/.nix-profile/bin/nix build \
|
||||||
--extra-experimental-features "nix-command flakes" \
|
--extra-experimental-features "nix-command flakes" \
|
||||||
|
|
Loading…
Reference in a new issue