modules: hardware: move 'networking'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:41:59 +02:00
parent abbe1bb203
commit 5f0c1f6a79
6 changed files with 11 additions and 9 deletions

View file

@ -8,7 +8,6 @@
./home.nix
./language.nix
./media.nix
./networking.nix
./nix.nix
./packages.nix
./sound.nix

View file

@ -5,5 +5,6 @@
imports = [
./bluetooth.nix
./ergodox.nix
./networking.nix
];
}

View file

@ -1,9 +1,9 @@
{ config, lib, ... }:
let
cfg = config.my.networking;
cfg = config.my.hardware.networking;
in
{
options.my.networking = with lib; {
options.my.hardware.networking = with lib; {
externalInterface = mkOption {
type = types.nullOr types.str;
default = null;