chore: cleanup code

This commit is contained in:
Swarsel 2024-07-19 00:22:09 +02:00
parent 38b7687b5c
commit 9dc9a1fe1b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
7 changed files with 1517 additions and 1621 deletions

View file

@ -15,17 +15,23 @@
};
# Bootloader
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; # TEMPLATE - if only one disk, this will work
boot.loader.grub.useOSProber = true;
boot.loader.grub = {
enable = true;
device = "/dev/sda"; # TEMPLATE - if only one disk, this will work
useOSProber = true;
};
# --------------------------------------
# you might need a configuration like this instead:
# Bootloader
# boot.loader.grub.enable = true;
# boot.loader.grub.devices = ["nodev" ];
# boot.loader.grub.useOSProber = true;
# boot.kernelPackages = pkgs.linuxPackages_latest;
# boot = {
# kernelPackages = pkgs.linuxPackages_latest;
# loader.grub = {
# enable = true;
# devices = ["nodev" ];
# useOSProber = true;
# };
# };
# --------------------------------------
networking.hostName = "TEMPLATE"; # Define your hostname.