Greetings,
I have the following lines in one of my configuration files :
{ config, pkgs, lib, ... }:
with lib;
{
options.perso.jackett = mkEnableOption "Enable the service";
config = mkIf config.perso.jackett {
services.jackett = {
enable = true;
openFirewall = true;
# package = pkgs.jackett.override {
# version = "0.12.1301";
# sha256 = "03glp5qhyb6bldslbhivywcfbxpv374q9aaybz5f2s0r9il5cb35";
# };
};
};
};
}
If I uncomment the four lines, I get when I sudo nixos-rebuild switch
:
The option `services.jackett.package' defined in `path/to/the/file.nix' does not exist.
When looking at the options documentation actually confirms that it exists.
What am I doing wrong here ?
Relevant outputs :
sudo nix-channel --list
home-manager https://github.com/rycee/home-manager/archive/release-19.03.tar.gz
nixos https://nixos.org/channels/nixos-19.09
sudo nix --version
nix (Nix) 2.2.2