mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 16:10:03 +01:00
Merge pull request #64 from nix-community/no-deps
This commit is contained in:
commit
4c1b8a4e59
1 changed files with 5 additions and 0 deletions
|
|
@ -51,6 +51,11 @@ in {
|
||||||
${types.diskoLib.zapCreateMount cfg.devices}
|
${types.diskoLib.zapCreateMount cfg.devices}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# This is useful to skip copying executables uploading a script to an in-memory installer
|
||||||
|
system.build.diskoNoDeps = pkgs.writers.writeBash "disko" ''
|
||||||
|
${types.diskoLib.zapCreateMount cfg.devices}
|
||||||
|
'';
|
||||||
|
|
||||||
# Remember to add config keys here if they are added to types
|
# Remember to add config keys here if they are added to types
|
||||||
fileSystems = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "fileSystems" (types.diskoLib.config cfg.devices)));
|
fileSystems = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "fileSystems" (types.diskoLib.config cfg.devices)));
|
||||||
boot = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "boot" (types.diskoLib.config cfg.devices)));
|
boot = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "boot" (types.diskoLib.config cfg.devices)));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue