modified: installer.nix
This commit is contained in:
+3
-2
@@ -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
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user