update
This commit is contained in:
parent
b67f26d011
commit
667701d3ef
1 changed files with 19 additions and 12 deletions
|
|
@ -1,15 +1,21 @@
|
||||||
{ inputs, pkgs, label, version, lib, niri, ... }:
|
{ inputs, pkgs, label, version, lib, niri, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
sygil-plymouth = pkgs.stdenv.mkDerivation rec {
|
||||||
sygil-src = pkgs.fetchFromGitHub {
|
pname = "sygil";
|
||||||
owner = "serenity-F";
|
version = "0.0.1";
|
||||||
repo = "sygil-plymouth";
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://codeberg.org/serenity-F/sygil-plymouth";
|
||||||
rev = "main";
|
rev = "main";
|
||||||
sha256 = "sha256-oyWfILqZX9Iw5diFc5AAm8nwEZFiGf9ndyG/8CxyyLw=";
|
sha256 = "";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
dontBuild = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/plymouth/themes/sygil
|
||||||
|
cp -r * $out/share/plymouth/themes/sygil/
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
sygil = pkgs.callPackage sygil-src {};
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
@ -30,15 +36,16 @@ in
|
||||||
kernelParams =
|
kernelParams =
|
||||||
[ # grub kernel parameters, set to prevent excessive output on boot
|
[ # grub kernel parameters, set to prevent excessive output on boot
|
||||||
"quiet" # quiet log level
|
"quiet" # quiet log level
|
||||||
"splash" # uhhh
|
"splash" # unsure ?
|
||||||
"vga=current" # use current video adapater
|
"vga=current" # use current video adapater
|
||||||
"loglevel=3" # minimal output on boot
|
"loglevel=3" # minimal output on boot
|
||||||
"rd.systemd.show_status=false" # uhh
|
"rd.systemd.show_status=false" # unsure ?
|
||||||
"rd.udev.log_level=0" # more minimising of output on boot
|
"rd.udev.log_level=0" # more minimising of output on boot
|
||||||
"udev.log_priority=3" # more minimising of output on boot
|
"udev.log_priority=3" # more minimising of output on boot
|
||||||
"boot.shell_on_fail" # reboots to basic uefi shell on boot failure
|
"boot.shell_on_fail" # reboots to basic uefi shell on boot failure
|
||||||
#"i915.fastboot=1"
|
#"i915.fastboot=1" # unsure ?
|
||||||
"plymouth.use-simpledrm" # tweak to allow plymouth animations to run smoother
|
"plymouth.use-simpledrm" # tweak to allow plymouth animations to run smoother
|
||||||
|
"plymouth.ignore-serial-consoles" # unsure ?
|
||||||
];
|
];
|
||||||
loader = {
|
loader = {
|
||||||
timeout = 5; # 5 second timeout to default selection
|
timeout = 5; # 5 second timeout to default selection
|
||||||
|
|
@ -52,7 +59,7 @@ in
|
||||||
plymouth = { # enables plymouth boot animations
|
plymouth = { # enables plymouth boot animations
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "sygil";
|
theme = "sygil";
|
||||||
themePackages = [ sygil ];
|
themePackages = [ sygil-plymouth ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue