format all files
This commit is contained in:
parent
f940a235f0
commit
a47826b7c2
101 changed files with 1073 additions and 1034 deletions
|
|
@ -1,24 +1,29 @@
|
|||
{ inputs, pkgs, libs, ... }: let
|
||||
background = libs.root "/assets/grub/background.png";
|
||||
baseTheme = inputs.honkai-railway-grub-theme.packages.${pkgs.stdenv.hostPlatform.system}.cyrene-grub-theme;
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
libs,
|
||||
...
|
||||
}: let
|
||||
background = libs.root "/assets/grub/background.png";
|
||||
baseTheme = inputs.honkai-railway-grub-theme.packages.${pkgs.stdenv.hostPlatform.system}.cyrene-grub-theme;
|
||||
in {
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
||||
grub = rec {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
splashImage = background;
|
||||
theme = pkgs.runCommand "my-grub-theme" { } ''
|
||||
mkdir -p $out
|
||||
cp -r ${baseTheme}/* $out/
|
||||
chmod -R u+w $out
|
||||
cp ${background} $out/background.png
|
||||
'';
|
||||
};
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
splashImage = background;
|
||||
theme = pkgs.runCommand "my-grub-theme" {} ''
|
||||
mkdir -p $out
|
||||
cp -r ${baseTheme}/* $out/
|
||||
chmod -R u+w $out
|
||||
cp ${background} $out/background.png
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue