1
0
Fork 0
Browse Source

Switch to nixos-blur plymouth theme

master
Gürkan Gür 3 months ago
parent
commit
d02deec31e
  1. 6
      machines/innodellix.nix
  2. 25
      modules/packages/nixos-plymouth.nix

6
machines/innodellix.nix

@ -4,7 +4,7 @@ let
fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz
) { config = { allowUnfree = true; }; };
secrets = import ../modules/secrets.nix;
owl_plymouth_theme = pkgs.callPackage ../modules/packages/owl.nix {};
nixos_plymouth = pkgs.callPackage ../modules/packages/nixos-plymouth.nix {};
in
{
imports =
@ -31,8 +31,8 @@ in
};
plymouth = {
enable = true;
theme = "owl";
themePackages = [ owl_plymouth_theme ];
theme = "nixos-blur";
themePackages = [ nixos_plymouth ];
};
initrd = {
availableKernelModules = [

25
modules/packages/nixos-plymouth.nix

@ -0,0 +1,25 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "nixos-blur";
version = "unstable-2022-07-08";
src = fetchgit {
url = "https://git.gurkan.in/gurkan/nixos-blur-plymouth.git";
rev = "ea75b51a1f04aa914647a2929eab6bbe595bcfc0";
sha256 = "15iknbzqs460vn5bxilkrw31hszxj3kd428sw4097j5pdkwa2a85";
};
buildInputs = [ stdenv ];
configurePhase = ''
install_path=$out/share/plymouth/themes
mkdir -p $install_path
'';
installPhase = ''
cp -r nixos-blur $install_path
'';
meta = with stdenv.lib; { platfotms = platforms.linux; };
}
Loading…
Cancel
Save