For the Glory of Mankind

This commit is contained in:
Invariantspace 2023-10-27 14:09:31 -07:00
parent fbf346f822
commit ef1f33eddd
3 changed files with 46 additions and 11 deletions

View file

@ -0,0 +1,14 @@
{ inputs, pkgs, resolution ? "2560x1440" }:
assert builtins.any (s: resolution == s) [ "1920x1080" "2256x1504" "2560x1440" "3840x2160" ];
pkgs.stdenv.mkDerivation rec {
name = "yorha-grub-theme";
src = inputs.${name};
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -r yorha-${resolution}/* $out/
runHook postInstall
'';
}