modified: installer.nix

This commit is contained in:
2025-07-21 17:06:02 +10:00
parent 3732e547e9
commit 63a1207ff5
+5 -1
View File
@@ -85,10 +85,14 @@ users.users.root = {
shell = pkgs.bashInteractive;
};
environment.etc."skel/.bashrc".text = ''
environment.etc."auto-install.sh".source = ./auto-install.sh;
environment.etc."auto-install.sh".mode = "0755";
environment.etc."home/nixos/.bashrc".text = ''
if [ -n "$PS1" ] && [ ! -e ~/.auto_install_ran ]; then
sudo /etc/auto-install.sh
touch ~/.auto_install_ran
fi
'';
environment.etc."home/nixos/.bashrc".mode = "0644";
}