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;
};
boot.plymouth.enable = true;
desktop = {
plasma = {
enable = true;
@ -51,9 +53,8 @@
bluetooth.enable = true;
gamingKernel.enable = true;
keymaps.layout = "us";
nvidia.enable = true;
pipewire.enable = true;
plymouth.enable = true;
graphics.nvidia.enable = true;
audio.pipewire.enable = true;
printing.enable = true;
waydroid.enable = true;
};

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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