Use grub in reykjavik + add grub theme
This commit is contained in:
21
flake.lock
generated
21
flake.lock
generated
@@ -50,6 +50,26 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"grub2-themes": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1668213765,
|
||||
"narHash": "sha256-mTx1jAy6AOY4moWRGvCHYnUNX4qBL/ba47ZcIkhczJM=",
|
||||
"owner": "vinceliuice",
|
||||
"repo": "grub2-themes",
|
||||
"rev": "c106dfb9b5b18ad092ff0f952f2b734933e8283e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "vinceliuice",
|
||||
"repo": "grub2-themes",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -153,6 +173,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"grub2-themes": "grub2-themes",
|
||||
"home-manager": "home-manager",
|
||||
"nix-colors": "nix-colors",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
|
||||
# - Themeing ---------------------------------
|
||||
grub2-themes.url = "github:vinceliuice/grub2-themes";
|
||||
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-colors.url = "github:misterio77/nix-colors";
|
||||
|
||||
};
|
||||
@@ -45,6 +48,7 @@
|
||||
[
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nix-colors.homeManagerModule
|
||||
inputs.grub2-themes.nixosModule
|
||||
]
|
||||
# All my personal modules
|
||||
++ (lib.my.mapModulesRec' (toString ./modules) import);
|
||||
|
||||
@@ -18,7 +18,19 @@ in
|
||||
|
||||
# - Bootloader ---------------------------------
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
#efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work for your system
|
||||
device = "nodev";
|
||||
};
|
||||
grub2-theme.enable = true;
|
||||
};
|
||||
|
||||
# - Themeing ---------------------------------
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
"/boot/efi" = {
|
||||
device = "/dev/disk/by-label/BOOT";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user