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; +}