From 63a1207ff5b287a644cb43245d9f575781a03c8f Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Mon, 21 Jul 2025 17:06:02 +1000 Subject: [PATCH] modified: installer.nix --- installer.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installer.nix b/installer.nix index 7ed2ac1..f3ac97d 100644 --- a/installer.nix +++ b/installer.nix @@ -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"; }