Skip to content

Commit

Permalink
Get rid of boot loader code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 28, 2024
1 parent 87acd89 commit 9f88a42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hosts/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@
};
};

# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

system.stateVersion = import ./state-version.nix;
}
9 changes: 9 additions & 0 deletions nixos/base/system/boot/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
boot = {
# Use the systemd-boot EFI boot loader.
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
}

0 comments on commit 9f88a42

Please sign in to comment.