mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
cli: consume diskoConfigurations or nixosConfigurations disko configs
This commit is contained in:
1 parent
1c31612335
commit
28d4e71950
4 files changed
+56
-28
No files matched your search
+9
-1
@@ -52,7 +52,15 @@ in
|
||||
${diskoLib.zapCreateMount cfg.devices}
|
||||
'';
|
||||
|
||||
# This is useful to skip copying executables uploading a script to an in-memory installer
|
||||
# These are useful to skip copying executables uploading a script to an in-memory installer
|
||||
system.build.formatScriptNoDeps = (diskoLib.writeCheckedBash { inherit pkgs checked; noDeps = true; }) "disko-create" ''
|
||||
${diskoLib.create cfg.devices}
|
||||
'';
|
||||
|
||||
system.build.mountScriptNoDeps = (diskoLib.writeCheckedBash { inherit pkgs checked; noDeps = true; }) "disko-mount" ''
|
||||
${diskoLib.mount cfg.devices}
|
||||
'';
|
||||
|
||||
system.build.diskoNoDeps = (diskoLib.writeCheckedBash { inherit pkgs checked; noDeps = true; }) "disko" ''
|
||||
${diskoLib.zapCreateMount cfg.devices}
|
||||
'';
|
||||
|
||||
Reference in new issue
Block a user