This commit is contained in:
Kristian Krsnik 2024-04-16 18:36:26 +02:00
parent 915b6bc2a0
commit 423d2e9df6
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

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