From b0cc830467efcbd9af8f6dea025ea9585e91de03 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 29 May 2021 16:38:54 +0200 Subject: [PATCH] modules: hardware: move 'ergodox' --- modules/default.nix | 1 - modules/hardware/default.nix | 1 + modules/{ => hardware}/ergodox.nix | 4 ++-- modules/{ => hardware}/networking.nix | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename modules/{ => hardware}/ergodox.nix (73%) rename modules/{ => hardware}/networking.nix (100%) diff --git a/modules/default.nix b/modules/default.nix index 80bb699..ddc434a 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -4,7 +4,6 @@ { imports = [ ./documentation.nix - ./ergodox.nix ./hardware ./home.nix ./language.nix diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix index 383e1dd..9c762aa 100644 --- a/modules/hardware/default.nix +++ b/modules/hardware/default.nix @@ -4,5 +4,6 @@ { imports = [ ./bluetooth.nix + ./ergodox.nix ]; } diff --git a/modules/ergodox.nix b/modules/hardware/ergodox.nix similarity index 73% rename from modules/ergodox.nix rename to modules/hardware/ergodox.nix index a822eb7..77f3ecb 100644 --- a/modules/ergodox.nix +++ b/modules/hardware/ergodox.nix @@ -1,10 +1,10 @@ # ZSA keyboard udev rules { config, lib, ... }: let - cfg = config.my.modules.ergodox; + cfg = config.my.hardware.ergodox; in { - options.my.modules.ergodox = with lib; { + options.my.hardware.ergodox = with lib; { enable = mkEnableOption "ZSA udev rules and user group configuration"; }; diff --git a/modules/networking.nix b/modules/hardware/networking.nix similarity index 100% rename from modules/networking.nix rename to modules/hardware/networking.nix