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
7
modules/system/boot/default.nix
Normal file
7
modules/system/boot/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./plymouth.nix
|
||||
];
|
||||
}
|
16
modules/system/boot/plymouth.nix
Normal file
16
modules/system/boot/plymouth.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.system.boot.plymouth;
|
||||
in
|
||||
{
|
||||
options.modules.system.boot.plymouth = {
|
||||
enable = mkEnableOption ''
|
||||
Enable plymouth with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
boot.plymouth.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue