diff --git a/base.nix b/base.nix index 085e182..fc79466 100644 --- a/base.nix +++ b/base.nix @@ -50,11 +50,6 @@ # TODO: only if x86_64? services.thermald.enable = true; - # Bootloader - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; # TODO: host-specific - boot.loader.grub.useOSProber = true; - # firewall services.fail2ban.enable = config.services.openssh.enable; networking.firewall.enable = true; # default diff --git a/hosts/bolle/default.nix b/hosts/bolle/default.nix index d6a1507..a4b44af 100644 --- a/hosts/bolle/default.nix +++ b/hosts/bolle/default.nix @@ -1,5 +1,9 @@ { config, pkgs, lib, ... }: { + # Bootloader + boot.loader.grub.enable = true; + boot.loader.grub.device = "/dev/nvme0n1"; + boot.loader.grub.useOSProber = true; imports = [ ./hardware-configuration.nix diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index 99fb484..cc3db7e 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -1,5 +1,9 @@ { config, pkgs, lib, ... }: { + # Bootloader + boot.loader.grub.enable = true; + boot.loader.grub.device = "/dev/sda"; + boot.loader.grub.useOSProber = true; imports = [ ./hardware-configuration.nix