1
Fork 0

Some grub theming

This commit is contained in:
Matei Adriel 2023-03-12 23:34:42 +01:00
parent e7b4d2eba6
commit 1ed61054f7
No known key found for this signature in database
5 changed files with 35 additions and 11 deletions

View file

@ -1,8 +1,8 @@
{
stylix = {
# image = ./wallpapers/eye.png;
# image = ./wallpapers/colorful1.png;
image = ./wallpapers/colorful2.png;
image = ./wallpapers/colorful1.png;
# image = ./wallpapers/colorful2.png;
# image = ./wallpapers/colorful3.jpg;
polarity = "light";

View file

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

View file

@ -164,6 +164,26 @@
"type": "github"
}
},
"grub2-themes": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1674015718,
"narHash": "sha256-cBgjWD/mR1tiPyVky9Bl5kUrDX6RnARJ+0cEJ4VhbRg=",
"owner": "vinceliuice",
"repo": "grub2-themes",
"rev": "7c0d8eb7849cd5a4cf6a26c8750dcf71c26f2b0f",
"type": "github"
},
"original": {
"owner": "vinceliuice",
"repo": "grub2-themes",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -340,6 +360,7 @@
"agenix": "agenix",
"catppuccin-base16": "catppuccin-base16",
"firefox-addons": "firefox-addons",
"grub2-themes": "grub2-themes",
"home-manager": "home-manager",
"homeage": "homeage",
"impermanence": "impermanence",

View file

@ -24,9 +24,9 @@
homeage.url = "github:jordanisaacs/homeage";
homeage.inputs.nixpkgs.follows = "nixpkgs";
# Base16-nix
# base16.url = github:SenchoPens/base16.nix;
# base16.inputs.nixpkgs.follows = "nixpkgs";
# Grub2 themes
grub2-themes.url = "github:vinceliuice/grub2-themes";
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
# Stylix
stylix.url = "github:danth/stylix";

View file

@ -1,6 +1,12 @@
# This file contains arcane configurations copied from a random old wiki entry
# One day I shall revisit this and see what's needed and what isn't
{
{ inputs, ... }: {
imports = [ inputs.grub2-themes.nixosModules.default ];
# Defined [here](https://github.com/vinceliuice/grub2-themes/blob/master/flake.nix#L11)
boot.loader.grub2-theme = {
enable = true;
};
# See [the wiki page](https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows)
boot.loader = {
efi = {
canTouchEfiVariables = true;
@ -27,10 +33,7 @@
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'';
version = 2;
};
};
stylix.targets.grub.enable = true;
}