Fix module

This commit is contained in:
2025-01-21 11:33:30 +01:00
parent 04008b5782
commit 50a1d7924b
2 changed files with 42 additions and 20 deletions

View File

@@ -13,13 +13,17 @@
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs {inherit system;};
in {
packages = rec {
tauron-scrapper = pkgs.callPackage ./package.nix {};
default = tauron-scrapper;
};
nixosModules.tauron-scrapper = pkgs.callPackage ./module.nix {inherit self;};
});
})
// {
nixosModules = rec {
tauron-scrapper = import ./module.nix self;
default = tauron-scrapper;
};
};
}