fix[server]: remote disk unlock breaking

This commit is contained in:
Leon Schwarzäugl 2025-12-23 01:56:26 +01:00 committed by Leon Schwarzäugl
parent b06c19c52b
commit 2d2cb3c8fe
8 changed files with 48 additions and 46 deletions

View file

@ -1,9 +1,9 @@
{ self, homeConfig, lib, pkgs, nixosConfig ? null, ... }:
{ self, homeConfig, lib, pkgs, config, ... }:
let
mkPackages = names: pkgs: builtins.listToAttrs (map
(name: {
inherit name;
value = pkgs.callPackage "${self}/pkgs/config/${name}" { inherit self name homeConfig nixosConfig; };
value = pkgs.callPackage "${self}/pkgs/config/${name}" { inherit self name homeConfig config; };
})
names);
packageNames = lib.swarselsystems.readNix "pkgs/config";