{
  inputs,
  lib,
  namespace,
  ...
}: let
  inherit (lib) mkForce;
  inherit (lib.${namespace}) enabled;
in {
  imports = [
    ./hardware-configuration.nix

    inputs.disko.nixosModules.default
    (import ../../disko.nix {main = "/dev/mmcblk1";})
  ];

  ${namespace} = {
    bundles = {
      common = enabled;
    };
    services = {
      networking = {
        httpd = enabled;
      };

      storage = {
        nfs = {
          enable = true;
          shares = [
            {
              name = "slurm";
              whitelist = ["arisu"];
              permissions = ["rw" "nohide" "insecure" "no_subtree_check" "no_root_squash" "sync"];
            }
          ];
        };
      };
    };
  };

  programs.nh = {
    enable = true;
    clean.enable = true;
  };

  networking = {
    hostName = "chibi";
    hostId = "9245f27e";
  };

  boot.loader = {
    efi.canTouchEfiVariables = mkForce false;
    grub.efiInstallAsRemovable = true;
  };

  system.stateVersion = "26.05";
}
