Skip to content

daVinci13/nixos_boot_plymouth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Install

Configurate plymouth

{ config, lib, pkgs, ... }:

let
  nixos-plymouth-theme = pkgs.stdenv.mkDerivation rec {
    pname = "nixos-boot-plymouth-theme";
    version = "1.0";
    
    src = pkgs.fetchFromGitHub {
      owner = "daVinci13";
      repo = "nixos_boot_plymouth";
      rev = "master";  # or specific commit hash
      sha256 = lib.fakeSha256;
    };
    
    dontBuild = true;
    
    installPhase = ''
      mkdir -p $out/share/plymouth/themes/nixos
      cp -r * $out/share/plymouth/themes/nixos/
    '';
  };
in
{
  boot = {
    plymouth = {
      enable = true;
      theme = "nixos";
      themePackages = [ nixos-plymouth-theme ];
    };
    
    # Required for Plymouth to work properly
    initrd.systemd.enable = true;
    
    # Kernel parameters for clean boot
    kernelParams = [
      "quiet"
      "splash"
      "plymouth.ignore-serial-consoles"
    ];
  };
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages