[water7] feat: Add minegrub
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
94d76c89ed
commit
e0f93e2df2
3 changed files with 58 additions and 3 deletions
37
flake.lock
generated
37
flake.lock
generated
|
|
@ -41,7 +41,41 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"minegrub-theme": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775570192,
|
||||
"narHash": "sha256-wTLOBy3l/FaIGJWRGFTVYsITkou0lmDU3uAMxvOCCN8=",
|
||||
"owner": "Lxtharia",
|
||||
"repo": "minegrub-theme",
|
||||
"rev": "8ba52f8402ed642abf0f6eee32c407412a3ceae6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Lxtharia",
|
||||
"repo": "minegrub-theme",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1689850295,
|
||||
"narHash": "sha256-fUYf6WdQlhd2H+3aR8jST5dhFH1d0eE22aes8fNIfyk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5df4d78d54f7a34e9ea1f84a22b4fd9baebc68d0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1776548001,
|
||||
"narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
|
||||
|
|
@ -60,7 +94,8 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"minegrub-theme": "minegrub-theme",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"sops-nix": "sops-nix",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
url = "github:mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
minegrub-theme.url = "github:Lxtharia/minegrub-theme";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
|
|
@ -48,6 +50,7 @@
|
|||
modules = [
|
||||
./hosts/water7/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.minegrub-theme.nixosModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,8 +14,25 @@
|
|||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader = {
|
||||
timeout = 5;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
devices = ["nodev"];
|
||||
efiSupport = true;
|
||||
minegrub-theme = {
|
||||
enable = true;
|
||||
splash = "100% Flakes!";
|
||||
background = "background_options/1.8 - [Classic Minecraft].png";
|
||||
boot-options-count = 4;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "water7"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue