summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-10 10:19:43 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-10 10:19:43 +0530
commit1f34404b653877e010332ae31de8ce07c541ef59 (patch)
tree723ea9371bfd9aab538a6f1ce06b6d48aef7c983
parentacd2d93ad81ffad72c067e0cbf90bee809276951 (diff)
(theme): GRUB2
-rw-r--r--flake.lock37
-rw-r--r--flake.nix8
-rw-r--r--machines/x/configuration.nix6
3 files changed, 47 insertions, 4 deletions
diff --git a/flake.lock b/flake.lock
index 9ff5bf6..0849a9e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -20,6 +20,24 @@
"type": "github"
}
},
+ "grub2-themes": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ },
+ "locked": {
+ "lastModified": 1727610429,
+ "narHash": "sha256-zqsNFzOHPkopQzfzTr05TQRZOvXLtYnsqEqYlY3va2Q=",
+ "owner": "vinceliuice",
+ "repo": "grub2-themes",
+ "rev": "85db6e7ceacf659aa12b5d335dd3b18a9b9bb788",
+ "type": "github"
+ },
+ "original": {
+ "owner": "vinceliuice",
+ "repo": "grub2-themes",
+ "type": "github"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -57,6 +75,22 @@
},
"nixpkgs": {
"locked": {
+ "lastModified": 1728534991,
+ "narHash": "sha256-wLUZyvtOOowAz0kTrU2MoC4nXWniFaVezGyzuEt5HPc=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "6b955bdbb9efe4a5c047746323951fe1bdf8d01b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "master",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_2": {
+ "locked": {
"lastModified": 1728241625,
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
"owner": "nixos",
@@ -74,9 +108,10 @@
"root": {
"inputs": {
"disko": "disko",
+ "grub2-themes": "grub2-themes",
"home-manager": "home-manager",
"impermanence": "impermanence",
- "nixpkgs": "nixpkgs"
+ "nixpkgs": "nixpkgs_2"
}
}
},
diff --git a/flake.nix b/flake.nix
index 13d3f81..7945570 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,9 +18,10 @@
};
# Impermanence
- impermanence = {
- url = "github:nix-community/impermanence";
- };
+ impermanence.url = "github:nix-community/impermanence";
+
+ # GRUB2 themes
+ grub2-themes.url = "github:vinceliuice/grub2-themes";
};
outputs = { self, nixpkgs, ... }@inputs: {
@@ -37,6 +38,7 @@
inputs.home-manager.nixosModules.default
inputs.impermanence.nixosModules.impermanence
+ inputs.grub2-themes.nixosModules.default
];
};
diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix
index 19305a1..c216ced 100644
--- a/machines/x/configuration.nix
+++ b/machines/x/configuration.nix
@@ -41,6 +41,12 @@ in {
efiSupport = true;
device = drive;
};
+ grub2-theme = {
+ enable = true;
+ theme = "vimix";
+ footer = true;
+ customResolution = "1920x1080";
+ };
};
boot.extraModprobeConfig = "options kvm_amd nested=1";