fix: move ddclient overlay to it's module
This commit is contained in:
parent
a8fa9c6c04
commit
1a998d1edb
2 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
# TODO: Move these to custom modules
|
# TODO: Move these to custom modules
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ./overlays/ddclient.nix)
|
|
||||||
(import ./overlays/firefox-addons {
|
(import ./overlays/firefox-addons {
|
||||||
inherit (inputs.nixpkgs) lib;
|
inherit (inputs.nixpkgs) lib;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.marleyos.services.ddclient;
|
cfg = config.marleyos.services.ddclient;
|
||||||
|
@ -8,6 +8,8 @@ in {
|
||||||
options.marleyos.services.ddclient.enable = lib.mkEnableOption "ddclient";
|
options.marleyos.services.ddclient.enable = lib.mkEnableOption "ddclient";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
nixpkgs.overlays = [(import ../../../overlays/ddclient.nix)];
|
||||||
|
|
||||||
age.secrets.ddclient.file = ../../../secrets/ddclient.conf.age;
|
age.secrets.ddclient.file = ../../../secrets/ddclient.conf.age;
|
||||||
|
|
||||||
services.ddclient = {
|
services.ddclient = {
|
||||||
|
|
Loading…
Reference in a new issue