!oNSIfazDqEcwhcOjSL:matrix.org

disko

353 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko88 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Jul 2024
@colemickens:matrix.orgcolemickens
In reply to @lassulus:lassul.us

should be already possible, you are using flakes I guess? you could say something like:

system.build.diskoScript = lib.mkForce (pkgs.writeScriptBin "disko-without-wipe" ''
  ${config.system.build.formatScript}
  ${config.system.build.mountScript}
'');
I think I need something more sophisticated, since I do need the root to be destroyed before format on each reprovision.
06:41:42
@colemickens:matrix.orgcolemickensI'm wondering if it makes sense to introduce a "skipDestroy" option to the module06:41:58
@colemickens:matrix.orgcolemickens(per-disk or vol or something maybe)06:42:09
@lassulus:lassul.uslassulushmm, this works only in the case where you would have the current existing structure defined in nix which lives on your disk? 06:42:49
@lassulus:lassul.uslassulusnot a very common usecase I would say06:42:55
@lassulus:lassul.uslassulusor you think just for the disk?06:43:08

Show newer messages


Back to Room ListRoom Version: 10