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;
|
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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
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;
|
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
|
||||||
'';
|
'';
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./apps
|
./apps
|
||||||
|
./boot
|
||||||
./desktop
|
./desktop
|
||||||
./hardware
|
./hardware
|
||||||
./services
|
./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;
|
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
|
||||||
'';
|
'';
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
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;
|
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
|
||||||
'';
|
'';
|
Loading…
Add table
Reference in a new issue