hosts/ni: move bootloader code into hardware configuration

This commit is contained in:
Gabriel Arazas 2023-02-06 21:19:56 +08:00
parent 8a23bd7932
commit b1925b99a6
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 7 additions and 7 deletions

View File

@ -139,13 +139,6 @@ in
# Enable Guix service. # Enable Guix service.
services.guix.enable = true; services.guix.enable = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = {
enable = true;
netbootxyz.enable = true;
};
boot.loader.efi.canTouchEfiVariables = true;
# Set your time zone. # Set your time zone.
time.timeZone = "Asia/Manila"; time.timeZone = "Asia/Manila";

View File

@ -12,6 +12,13 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = {
enable = true;
netbootxyz.enable = true;
};
boot.loader.efi.canTouchEfiVariables = true;
fileSystems."/" = { fileSystems."/" = {
label = "root"; label = "root";
options = [ options = [