load database with checksum again but do the same in disko-install

This commit is contained in:
Jörg Thalheim
2024-05-07 07:40:29 +02:00
parent 8a4585a200
commit cdefe26742
7 changed files with 48 additions and 60 deletions

View File

@@ -197,9 +197,10 @@ Add this to your flake.nix output:
{ pkgs, self, ... }:
let
dependencies = [
pkgs.stdenv.drvPath
self.nixosConfigurations.your-machine.config.system.build.toplevel
self.nixosConfigurations.your-machine.config.system.build.diskoScript
self.nixosConfigurations.your-machine.pkgs.stdenv.drvPath
(self.nixosConfigurations.your-machine.pkgs.closureInfo { rootPaths = [ ]; }).drvPath
] ++ builtins.map (i: i.outPath) (builtins.attrValues self.inputs);
closureInfo = pkgs.closureInfo { rootPaths = dependencies; };