This commit is contained in:
Kristian Krsnik 2024-04-16 18:30:01 +02:00
parent 7d7bc3cf42
commit ea2baddadb
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -39,7 +39,7 @@
apps.${system} = { apps.${system} = {
install = { install = {
program = "${pkgs.writeShellScript "install" '' program = "${pkgs.writeShellScript "install" ''
sudo run ${inputs.disko} -- --mode disko ${./system/disko.nix} sudo run ${inputs.disko}#disko -- --mode disko ${./system/disko.nix}
sudo nixos-generate-config --force --no-filesystems --root /mnt --dir ./system sudo nixos-generate-config --force --no-filesystems --root /mnt --dir ./system
sudo nixos-install --no-root-password --root /mnt --flake ${self}#nixos sudo nixos-install --no-root-password --root /mnt --flake ${self}#nixos
''}"; ''}";