modified: auto-installer/installer.nix

This commit is contained in:
2025-07-21 09:27:04 +10:00
parent 94736a53ef
commit cfea52cf7d

View File

@@ -45,7 +45,9 @@ environment.etc."git-credentials".text =
];
serviceConfig = {
Type = "oneshot";
ExecStart = pkgs.writeShellScript "auto-install.sh" ''
# ExecStart = pkgs.writeShellScript "auto-install.sh" ''
ExecStart = ''
${pkgs.bash}/bin/bash -l -c '
set -eux
#create MBR table
parted /dev/sda -- mklabel msdos
@@ -74,6 +76,7 @@ environment.etc."git-credentials".text =
rm -r /mnt/install-tmp
sleep 10
reboot
'
'';
};
};