updated
This commit is contained in:
parent
dfbfecb127
commit
c6446d24d8
@ -39,9 +39,9 @@
|
||||
apps.${system} = {
|
||||
install = {
|
||||
program = "${pkgs.writeShellScript "install" ''
|
||||
sudo run github:nix-community/disko/${inputs.disko.rev} -- --mode disko ./system/disko.nix
|
||||
sudo run github:nix-community/disko/${inputs.disko.rev} -- --mode disko ${./system/disko.nix}
|
||||
sudo nixos-generate-config --no-filesystems --force --root /mnt --dir ./system
|
||||
sudo nixos-install --no-root-password --root /mnt --flake .#nixos
|
||||
sudo nixos-install --no-root-password --root /mnt --flake ${self}#nixos
|
||||
''}";
|
||||
type = "app";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user