Certbot: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
mNo edit summary
Line 34: Line 34:
Installing ''certbot'' system wide with specific plugin included
Installing ''certbot'' system wide with specific plugin included
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
environment.systemPackages = with pkgs; [
environment.etc."letsencrypt/inwx.cfg" = {
  ( certbot.withPlugins (ps: with ps; [ certbot-dns-inwx ]) )
  text = ''
];
    dns_inwx_url = "https://api.domrobot.com/xmlrpc/"
    dns_inwx_username = "username"
    dns_inwx_password = "password"
  '';
};
 
environment.systemPackages = with pkgs; [
  ( certbot.withPlugins (ps: with ps; [ certbot-dns-inwx ]) )
];
</nowiki>}}
</nowiki>}}