Refactor: Rename hardware.* by category
All checks were successful
check / check (push) Successful in 33s
All checks were successful
check / check (push) Successful in 33s
Fix #5
This commit is contained in:
parent
a425abee8b
commit
259cb74fd3
10 changed files with 38 additions and 15 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
7
modules/system/boot/default.nix
Normal file
7
modules/system/boot/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./plymouth.nix
|
||||
];
|
||||
}
|
|
@ -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
|
||||
'';
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./apps
|
||||
./boot
|
||||
./desktop
|
||||
./hardware
|
||||
./services
|
||||
|
|
7
modules/system/hardware/audio/default.nix
Normal file
7
modules/system/hardware/audio/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
];
|
||||
}
|
|
@ -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
|
||||
'';
|
|
@ -2,12 +2,11 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./audio
|
||||
./bluetooth.nix
|
||||
./gaming-kernel.nix
|
||||
./keymaps
|
||||
./nvidia.nix
|
||||
./pipewire.nix
|
||||
./plymouth.nix
|
||||
./graphics
|
||||
./printing.nix
|
||||
./waydroid.nix
|
||||
];
|
||||
|
|
7
modules/system/hardware/graphics/default.nix
Normal file
7
modules/system/hardware/graphics/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./nvidia.nix
|
||||
];
|
||||
}
|
|
@ -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
|
||||
'';
|
Loading…
Add table
Reference in a new issue