feat: rebuit jones to make it be able to be rebooted

This commit is contained in:
silver 2023-11-15 16:41:30 +00:00
parent 35f6d63c10
commit 6ea0240a3a
42 changed files with 124 additions and 121 deletions

View file

@ -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;