modified: installer.nix
This commit is contained in:
+3
-2
@@ -82,11 +82,12 @@ users.users.root = {
|
||||
home = "/home/nixos";
|
||||
createHome = true;
|
||||
shell = pkgs.bashInteractive;
|
||||
shellInit = ''
|
||||
|
||||
};
|
||||
environment.etc."skel/.bashrc".text = ''
|
||||
if [ -n "$PS1" ] && [ ! -e ~/.auto_install_ran ]; then
|
||||
sudo /etc/auto-install.sh
|
||||
touch ~/.auto_install_ran
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user