From 0fbc6e0f037211c642cf4c8619c8d6f6006ab4cd Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 4 Feb 2024 18:21:53 +0530 Subject: [PATCH] update plymouth themes --- hosts/skipper/plymouth.nix | 8 ++++---- hosts/skipper/specialisations.nix | 14 +++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/hosts/skipper/plymouth.nix b/hosts/skipper/plymouth.nix index be5cdce..783600b 100644 --- a/hosts/skipper/plymouth.nix +++ b/hosts/skipper/plymouth.nix @@ -1,9 +1,9 @@ -{ pkgs, ... }: { - boot.plymouth = let theme = "rog_2"; in { +{ lib, pkgs, ... }: { + boot.plymouth = let theme = "angular"; in { enable = true; - themePackages = [ + themePackages = lib.mkDefault [ (pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; }) ]; - inherit theme; + theme = lib.mkDefault theme; }; } diff --git a/hosts/skipper/specialisations.nix b/hosts/skipper/specialisations.nix index b40f009..46c7f85 100644 --- a/hosts/skipper/specialisations.nix +++ b/hosts/skipper/specialisations.nix @@ -1,13 +1,24 @@ { lib , pkgs , ... -}: { +}: +let + plymouth = let theme = "angular_alt"; in { + enable = true; + themePackages = lib.mkForce [ + (pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; }) + ]; + theme = lib.mkForce theme; + }; +in +{ specialisation = { xanmod = { inheritParentConfig = true; configuration = { boot = { kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_latest; + inherit plymouth; }; system.nixos.tags = [ "with-xanmod" ]; }; @@ -17,6 +28,7 @@ configuration = { boot = { kernelPackages = lib.mkForce pkgs.linuxPackages_zen; + inherit plymouth; }; system.nixos.tags = [ "with-zen" ]; };