From 94d4aff275a8e057342911b904c6ea6b7fe01748 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 9 May 2024 11:52:28 +0200 Subject: [PATCH] Install `minegrub-theme` --- flake.lock | 22 ++++++++++++++++++++++ flake.nix | 8 +++++++- lib/configuration.nix | 5 +++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index ba10112..9d26b20 100644 --- a/flake.lock +++ b/flake.lock @@ -40,6 +40,27 @@ "type": "github" } }, + "minegrub-theme": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1713735231, + "narHash": "sha256-KuvNneagLOiHdchPPgxZ5kmlO4NA+cvWQ/b/idwjVgo=", + "owner": "Lxtharia", + "repo": "minegrub-theme", + "rev": "08fe7f2b07e0f39426d53e1a1ab5b071e77b9e39", + "type": "github" + }, + "original": { + "owner": "Lxtharia", + "ref": "08fe7f2b07e0f39426d53e1a1ab5b071e77b9e39", + "repo": "minegrub-theme", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1718089647, @@ -91,6 +112,7 @@ "inputs": { "flake-utils": "flake-utils", "home-manager": "home-manager", + "minegrub-theme": "minegrub-theme", "nixpkgs": "nixpkgs", "sops-nix": "sops-nix" } diff --git a/flake.nix b/flake.nix index 1f33579..e015098 100644 --- a/flake.nix +++ b/flake.nix @@ -11,9 +11,14 @@ }; sops-nix.url = "github:Mic92/sops-nix?ref=c279dec105dd53df13a5e57525da97905cc0f0d6"; + + minegrub-theme = { + url = "github:Lxtharia/minegrub-theme?ref=08fe7f2b07e0f39426d53e1a1ab5b071e77b9e39"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, flake-utils, home-manager, sops-nix }: ( + outputs = { self, nixpkgs, flake-utils, home-manager, sops-nix, minegrub-theme }: ( let inherit (nixpkgs) lib; @@ -167,6 +172,7 @@ }; }) home-manager.nixosModules.home-manager + minegrub-theme.nixosModules.default sops-nix.nixosModules.sops ./lib/configuration.nix (tryFiles [ ./lib/machines/${hostname}.nix ] ./lib/hardware/base.nix) diff --git a/lib/configuration.nix b/lib/configuration.nix index ea06b8b..c0de563 100644 --- a/lib/configuration.nix +++ b/lib/configuration.nix @@ -51,6 +51,11 @@ efiSupport = true; device = "nodev"; useOSProber = true; + + minegrub-theme = { + enable = true; + splash = ""; + }; }; };