Fix module
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user