modules: hardware: move 'networking'
This commit is contained in:
parent
abbe1bb203
commit
5f0c1f6a79
6 changed files with 11 additions and 9 deletions
|
|
@ -8,7 +8,6 @@
|
|||
./home.nix
|
||||
./language.nix
|
||||
./media.nix
|
||||
./networking.nix
|
||||
./nix.nix
|
||||
./packages.nix
|
||||
./sound.nix
|
||||
|
|
|
|||
|
|
@ -5,5 +5,6 @@
|
|||
imports = [
|
||||
./bluetooth.nix
|
||||
./ergodox.nix
|
||||
./networking.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue