Refactor: Rename hardware.* by category
All checks were successful
check / check (push) Successful in 33s

Fix #5
This commit is contained in:
Florian RICHER 2025-01-29 21:56:40 +01:00
parent a425abee8b
commit 259cb74fd3
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
10 changed files with 38 additions and 15 deletions

View file

@ -41,6 +41,8 @@
qemu.enable = true; qemu.enable = true;
}; };
boot.plymouth.enable = true;
desktop = { desktop = {
plasma = { plasma = {
enable = true; enable = true;
@ -51,9 +53,8 @@
bluetooth.enable = true; bluetooth.enable = true;
gamingKernel.enable = true; gamingKernel.enable = true;
keymaps.layout = "us"; keymaps.layout = "us";
nvidia.enable = true; graphics.nvidia.enable = true;
pipewire.enable = true; audio.pipewire.enable = true;
plymouth.enable = true;
printing.enable = true; printing.enable = true;
waydroid.enable = true; waydroid.enable = true;
}; };

View file

@ -42,6 +42,8 @@
flatpak.enable = true; flatpak.enable = true;
}; };
boot.plymouth.enable = true;
desktop = { desktop = {
plasma.enable = true; plasma.enable = true;
}; };
@ -50,9 +52,8 @@
bluetooth.enable = true; bluetooth.enable = true;
gamingKernel.enable = true; gamingKernel.enable = true;
keymaps.layout = "fr"; keymaps.layout = "fr";
nvidia.enable = true; graphics.nvidia.enable = true;
pipewire.enable = true; audio.pipewire.enable = true;
plymouth.enable = true;
printing.enable = true; printing.enable = true;
waydroid.enable = true; waydroid.enable = true;
}; };

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./plymouth.nix
];
}

View file

@ -2,10 +2,10 @@
with lib; with lib;
let let
cfg = config.modules.system.hardware.plymouth; cfg = config.modules.system.boot.plymouth;
in in
{ {
options.modules.system.hardware.plymouth = { options.modules.system.boot.plymouth = {
enable = mkEnableOption '' enable = mkEnableOption ''
Enable plymouth with my custom configurations Enable plymouth with my custom configurations
''; '';

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./apps ./apps
./boot
./desktop ./desktop
./hardware ./hardware
./services ./services

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./pipewire.nix
];
}

View file

@ -2,10 +2,10 @@
with lib; with lib;
let let
cfg = config.modules.system.hardware.pipewire; cfg = config.modules.system.hardware.audio.pipewire;
in in
{ {
options.modules.system.hardware.pipewire = { options.modules.system.hardware.audio.pipewire = {
enable = mkEnableOption '' enable = mkEnableOption ''
Enable pipewire with my custom configurations Enable pipewire with my custom configurations
''; '';

View file

@ -2,12 +2,11 @@
{ {
imports = [ imports = [
./audio
./bluetooth.nix ./bluetooth.nix
./gaming-kernel.nix ./gaming-kernel.nix
./keymaps ./keymaps
./nvidia.nix ./graphics
./pipewire.nix
./plymouth.nix
./printing.nix ./printing.nix
./waydroid.nix ./waydroid.nix
]; ];

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./nvidia.nix
];
}

View file

@ -2,10 +2,10 @@
with lib; with lib;
let let
cfg = config.modules.system.hardware.nvidia; cfg = config.modules.system.hardware.graphics.nvidia;
in in
{ {
options.modules.system.hardware.nvidia = { options.modules.system.hardware.graphics.nvidia = {
enable = mkEnableOption '' enable = mkEnableOption ''
Enable nvidia with my custom configurations Enable nvidia with my custom configurations
''; '';