From 5c9a185238069aa67d2d1d5d3277d9ba663d70d6 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Sat, 18 Nov 2023 07:58:53 +0400 Subject: [PATCH] install multiuser Nix (--daemon) --- nixos-infect | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos-infect b/nixos-infect index 53d0e66..2a26b73 100755 --- a/nixos-infect +++ b/nixos-infect @@ -263,7 +263,7 @@ installNix() { fi echo "Running nix installer..." - if $SHELL "${tmpNixInstall}"; then + if $SHELL "${tmpNixInstall}" --daemon; then echo "Nix is installed" rm "${tmpNixInstall}" else @@ -348,9 +348,6 @@ set -o nounset set -o xtrace set -o errexit -add-apt-repository --remove multiverse -add-apt-repository --remove universe -add-apt-repository --remove restricted apt update apt install -y git tar wget curl jq checkEnv