From 2daf9105e68f013b83fe0dea54d9a0779cbf4b0c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 14 Mar 2024 16:03:49 -0400 Subject: [PATCH] all: moved plymouth config into modules --- hosts/petalburg/default.nix | 6 +----- modules/plymouth.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 modules/plymouth.nix diff --git a/hosts/petalburg/default.nix b/hosts/petalburg/default.nix index 86f8bf42..e82c516c 100644 --- a/hosts/petalburg/default.nix +++ b/hosts/petalburg/default.nix @@ -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; diff --git a/modules/plymouth.nix b/modules/plymouth.nix new file mode 100644 index 00000000..9ff0763b --- /dev/null +++ b/modules/plymouth.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ + boot.initrd.verbose = false; + boot.consoleLogLevel = 0; + + boot.plymouth.enable = true; +}