modified: installer.nix

This commit is contained in:
2025-07-21 16:56:04 +10:00
parent ee705eb87d
commit d48087fd7a
+3 -2
View File
@@ -82,11 +82,12 @@ users.users.root = {
home = "/home/nixos"; home = "/home/nixos";
createHome = true; createHome = true;
shell = pkgs.bashInteractive; shell = pkgs.bashInteractive;
shellInit = ''
};
environment.etc."skel/.bashrc".text = ''
if [ -n "$PS1" ] && [ ! -e ~/.auto_install_ran ]; then if [ -n "$PS1" ] && [ ! -e ~/.auto_install_ran ]; then
sudo /etc/auto-install.sh sudo /etc/auto-install.sh
touch ~/.auto_install_ran touch ~/.auto_install_ran
fi fi
''; '';
};
} }