all: moved plymouth config into modules

This commit is contained in:
Aly Raffauf 2024-03-14 16:03:49 -04:00
parent 4d079f39bb
commit 2daf9105e6
2 changed files with 9 additions and 5 deletions

View file

@ -45,6 +45,7 @@ in {
./hardware-configuration.nix
../../users/aly.nix
../../system
../../modules/plymouth.nix
];
# Bootloader.
@ -54,11 +55,6 @@ in {
# Pull latest Linux kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.verbose = false;
boot.consoleLogLevel = 0;
boot.plymouth.enable = true;
networking.hostName = "petalburg"; # Define your hostname.
hardware.sensor.iio.enable = true;

8
modules/plymouth.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
boot.initrd.verbose = false;
boot.consoleLogLevel = 0;
boot.plymouth.enable = true;
}