❄️ Dotfiles for our NixOS system configuration.

chore: make bootloader enabled by default

Chloe aa6d65ea 710143a2

Changed files
+11 -7
hosts
dullscythe
solstice
modules
nixos
boot
+2 -6
hosts/dullscythe/default.nix
···
];
settings = {
-
bootloader = {
enable = true;
-
-
grub = {
-
enable = true;
-
device = "/dev/vda";
-
};
};
profiles.server.enable = true;
···
];
settings = {
+
bootloader.grub = {
enable = true;
+
device = "/dev/vda";
};
profiles.server.enable = true;
+4
hosts/solstice/default.nix
···
{
system.stateVersion = "23.11"; # Initial NixOS version
nixpkgs.hostPlatform = "x86_64-linux";
}
···
{
+
settings = {
+
bootloader.enable = false;
+
};
+
system.stateVersion = "23.11"; # Initial NixOS version
nixpkgs.hostPlatform = "x86_64-linux";
}
+5 -1
modules/nixos/boot/loader.nix
···
{ lib, ... }:
{
-
options.settings.bootloader.enable = lib.mkEnableOption "Enable bootloader configuration";
}
···
{ lib, ... }:
{
+
options.settings.bootloader.enable = lib.mkOption {
+
type = lib.types.bool;
+
default = true;
+
description = "Enable the system bootloader.";
+
};
}