mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
bootloader: separated into new file
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
||||||
../../modules/nixos/mullvad.nix # vpn config
|
../../modules/nixos/mullvad.nix # vpn config
|
||||||
../../hostsModules/laptop/nixos/autoUpdate.nix # auto update the flakes. Handles notification via libnotify and matrix-commander-rs
|
../../hostsModules/laptop/nixos/autoUpdate.nix # auto update the flakes. Handles notification via libnotify and matrix-commander-rs
|
||||||
|
../../hostsModules/laptop/nixos/bootloader.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -35,11 +36,6 @@
|
|||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
# grub theme
|
|
||||||
boot.loader.grub = {
|
|
||||||
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.nixPath = [
|
nix.nixPath = [
|
||||||
"nixpkgs=${inputs.nixpkgs.outPath}"
|
"nixpkgs=${inputs.nixpkgs.outPath}"
|
||||||
"home-manager=${inputs.home-manager.outPath}"
|
"home-manager=${inputs.home-manager.outPath}"
|
||||||
@@ -71,9 +67,7 @@
|
|||||||
};
|
};
|
||||||
# removes uxterm
|
# removes uxterm
|
||||||
services.xserver.excludePackages = [pkgs.xterm];
|
services.xserver.excludePackages = [pkgs.xterm];
|
||||||
# Bootloader.
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
|
|
||||||
#networking.Name = "nixos"; # Define your hostname.
|
#networking.Name = "nixos"; # Define your hostname.
|
||||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
# grub theme
|
||||||
|
boot.loader.grub = {
|
||||||
|
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
||||||
|
};
|
||||||
|
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user