fix: move ddclient overlay to it's module

This commit is contained in:
punkfairie 2025-05-26 20:00:20 -07:00
parent a8fa9c6c04
commit 1a998d1edb
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,6 @@
# TODO: Move these to custom modules
overlays = [
(import ./overlays/ddclient.nix)
(import ./overlays/firefox-addons {
inherit (inputs.nixpkgs) lib;
inherit inputs;

View file

@ -1,6 +1,6 @@
{
lib,
config,
lib,
...
}: let
cfg = config.marleyos.services.ddclient;
@ -8,6 +8,8 @@ in {
options.marleyos.services.ddclient.enable = lib.mkEnableOption "ddclient";
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [(import ../../../overlays/ddclient.nix)];
age.secrets.ddclient.file = ../../../secrets/ddclient.conf.age;
services.ddclient = {