This commit is contained in:
Kristian Krsnik 2024-04-15 19:23:31 +02:00
parent a78d52be94
commit 57c2f55072
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -40,7 +40,7 @@
install = {
program = "${pkgs.writeShellScript "install" ''
sudo nixos-generate-config --no-filesystems --force --root /mnt --dir ./system
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/${inputs.disko.rev}#disko-install -- --flake .#nixos --disk main /dev/sda --write-efi-entries
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/${inputs.disko.rev}#disko-install -- --flake .#nixos --disk main /dev/sda --write-efi-boot-entries
''}";
type = "app";
};