From fac1c0a7ed4e375e652b67d8d1bc74019c8eaea7 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 1 Mar 2023 02:21:24 +0100 Subject: [PATCH] fix bolle --- base.nix | 5 ----- hosts/bolle/default.nix | 4 ++++ hosts/noximilien/default.nix | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) 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