feat: rebuit jones to make it be able to be rebooted
This commit is contained in:
parent
35f6d63c10
commit
6ea0240a3a
42 changed files with 124 additions and 121 deletions
|
@ -11,6 +11,10 @@ with lib; let
|
|||
has_ip = interface: (length config.networking.interfaces."${interface}".ipv4.addresses) != 0;
|
||||
in {
|
||||
config = {
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
assertions = [
|
||||
{
|
||||
assertion = lists.any has_ip interfaces;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue