diff --git a/nixos/modules/programs/arp-scan.nix b/nixos/modules/programs/arp-scan.nix index 09775670b973..3580148f637a 100644 --- a/nixos/modules/programs/arp-scan.nix +++ b/nixos/modules/programs/arp-scan.nix @@ -1,8 +1,14 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.programs.arp-scan; -in { +in +{ options = { programs.arp-scan = { enable = lib.mkOption { diff --git a/nixos/modules/programs/iftop.nix b/nixos/modules/programs/iftop.nix index 8118fb232c6e..dee64502e7f7 100644 --- a/nixos/modules/programs/iftop.nix +++ b/nixos/modules/programs/iftop.nix @@ -1,8 +1,14 @@ -{ config, pkgs, lib, ... }: +{ + config, + pkgs, + lib, + ... +}: let cfg = config.programs.iftop; -in { +in +{ options = { programs.iftop.enable = lib.mkEnableOption "iftop and setcap wrapper for it"; }; diff --git a/nixos/modules/programs/tcpdump.nix b/nixos/modules/programs/tcpdump.nix index 428ac9e741d6..396a9ce9c9d6 100644 --- a/nixos/modules/programs/tcpdump.nix +++ b/nixos/modules/programs/tcpdump.nix @@ -1,8 +1,14 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.programs.tcpdump; -in { +in +{ options = { programs.tcpdump = { enable = lib.mkOption { diff --git a/nixos/modules/programs/traceroute.nix b/nixos/modules/programs/traceroute.nix index 7a010058eba9..0b2a78aff6db 100644 --- a/nixos/modules/programs/traceroute.nix +++ b/nixos/modules/programs/traceroute.nix @@ -1,8 +1,14 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.programs.traceroute; -in { +in +{ options = { programs.traceroute = { enable = lib.mkOption {