refactor(hardware): reorganize module structure

This commit is contained in:
tux
2026-05-09 02:40:27 +05:30
parent 920cc2d4d6
commit 40bb53a844
3 changed files with 3 additions and 4 deletions

View File

@@ -8,9 +8,9 @@
... ...
}: }:
{ {
imports = with config.flake.modules.nixos; [ imports = with config.flake.modules.nixos; [
boot boot
hardware
networking networking
desktop desktop
virtualisation virtualisation

View File

@@ -1,6 +1,5 @@
{ {
flake.modules.nixos.desktop = { flake.modules.nixos.hardware = {
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {

View File

@@ -1,5 +1,5 @@
{ {
flake.modules.nixos.desktop = { flake.modules.nixos.hardware = {
hardware = { hardware = {
graphics = { graphics = {
enable = true; enable = true;