Fix module
This commit is contained in:
@@ -19,10 +19,11 @@
|
||||
tauron-scrapper = pkgs.callPackage ./package.nix {};
|
||||
default = tauron-scrapper;
|
||||
};
|
||||
|
||||
})
|
||||
// {
|
||||
nixosModules = rec {
|
||||
tauron-scrapper = pkgs.callPackage ./module.nix {inherit self;};
|
||||
tauron-scrapper = import ./module.nix self;
|
||||
default = tauron-scrapper;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
{
|
||||
self: {
|
||||
config,
|
||||
coreutils-full,
|
||||
formats,
|
||||
pkgs,
|
||||
system,
|
||||
utils,
|
||||
lib,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
inherit (pkgs) coreutils-full formats utils;
|
||||
inherit (utils.systemdUtils.unitOptions) unitOption;
|
||||
cfg = config.services.tauron-scrapper;
|
||||
yamlConfig = (formats.yaml {}).generate "tauron-scrapper-config.yaml" cfg.config;
|
||||
|
||||
Reference in New Issue
Block a user