❄️ 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
··· 4 4 ]; 5 5 6 6 settings = { 7 - bootloader = { 7 + bootloader.grub = { 8 8 enable = true; 9 - 10 - grub = { 11 - enable = true; 12 - device = "/dev/vda"; 13 - }; 9 + device = "/dev/vda"; 14 10 }; 15 11 16 12 profiles.server.enable = true;
+4
hosts/solstice/default.nix
··· 1 1 { 2 + settings = { 3 + bootloader.enable = false; 4 + }; 5 + 2 6 system.stateVersion = "23.11"; # Initial NixOS version 3 7 nixpkgs.hostPlatform = "x86_64-linux"; 4 8 }
+5 -1
modules/nixos/boot/loader.nix
··· 1 1 { lib, ... }: 2 2 3 3 { 4 - options.settings.bootloader.enable = lib.mkEnableOption "Enable bootloader configuration"; 4 + options.settings.bootloader.enable = lib.mkOption { 5 + type = lib.types.bool; 6 + default = true; 7 + description = "Enable the system bootloader."; 8 + }; 5 9 }