mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
treewide: fix statix errors
This commit is contained in:
parent
a4b8c2b8da
commit
743d7eead9
48 changed files with 72 additions and 82 deletions
|
@ -2,7 +2,7 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.services.dyndns;
|
||||
domain = config.networking.domain;
|
||||
inherit (config.networking) domain;
|
||||
in
|
||||
{
|
||||
options.my.services.dyndns = with lib; {
|
||||
|
@ -25,8 +25,7 @@ in
|
|||
services.ddclient = {
|
||||
enable = true;
|
||||
server = "dyndns.inwx.com";
|
||||
username = cfg.username;
|
||||
passwordFile = cfg.passwordFile;
|
||||
inherit (cfg) username passwordFile;
|
||||
domains = [ "serverle.${domain}" ];
|
||||
ipv6 = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue