update plymouth themes

This commit is contained in:
Adithya 2024-02-04 18:21:53 +05:30
parent e2d2def20b
commit 0fbc6e0f03
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 17 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{ pkgs, ... }: { { lib, pkgs, ... }: {
boot.plymouth = let theme = "rog_2"; in { boot.plymouth = let theme = "angular"; in {
enable = true; enable = true;
themePackages = [ themePackages = lib.mkDefault [
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; }) (pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; })
]; ];
inherit theme; theme = lib.mkDefault theme;
}; };
} }

View file

@ -1,13 +1,24 @@
{ lib { lib
, pkgs , 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 = { specialisation = {
xanmod = { xanmod = {
inheritParentConfig = true; inheritParentConfig = true;
configuration = { configuration = {
boot = { boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_latest; kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_latest;
inherit plymouth;
}; };
system.nixos.tags = [ "with-xanmod" ]; system.nixos.tags = [ "with-xanmod" ];
}; };
@ -17,6 +28,7 @@
configuration = { configuration = {
boot = { boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_zen; kernelPackages = lib.mkForce pkgs.linuxPackages_zen;
inherit plymouth;
}; };
system.nixos.tags = [ "with-zen" ]; system.nixos.tags = [ "with-zen" ];
}; };