vps: fix infinite recursion error

This commit is contained in:
Fabian Montero 2025-08-26 20:53:57 -06:00
parent f0dee85621
commit 8f6e2b9ce2
Signed by: fabian
GPG key ID: 1FFAC35E1798174F
2 changed files with 12 additions and 1 deletions

View file

@ -6,6 +6,9 @@
with prev.lib; let with prev.lib; let
inherit (final) callPackage fetchpatch; inherit (final) callPackage fetchpatch;
in { in {
homepage = flakes.homepage.packages.${final.system}.default;
override = override =
{ {
# add python modules here to make them available in all versions # add python modules here to make them available in all versions

View file

@ -4,6 +4,7 @@
pkgs, pkgs,
flakes, flakes,
modulesPath, modulesPath,
doctrine,
... ...
}: }:
with lib; { with lib; {
@ -40,7 +41,14 @@ with lib; {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = {inherit flakes;}; extraSpecialArgs = {
inherit flakes;
doctrine = flakes.trivionomicon.lib.mkDoctrine {
inherit pkgs;
inherit (doctrine) prefix;
namespace = "home";
};
};
users.fabian = { users.fabian = {
imports = [ imports = [