For the Glory of Mankind
This commit is contained in:
parent
fbf346f822
commit
ef1f33eddd
3 changed files with 46 additions and 11 deletions
14
packages/yorha-grub-theme.nix
Normal file
14
packages/yorha-grub-theme.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue