infra/puter/000-bm-nixos-kirakira/specific-aspect/boot.nix
2025-12-01 13:23:24 +07:00

26 lines
No EOL
606 B
Nix

{
den.aspects = {
kirakira = {
nixos =
{ lib, ... }:
{
boot = {
loader.systemd-boot.enable = true;
loader.efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
kernel = {
sysctl = {
"net.ipv4.conf.all.forwarding" = lib.mkForce true;
"net.ipv6.conf.all.forwarding" = lib.mkForce true;
};
};
kernelModules = [
"v4l2loopback"
];
};
};
};
};
}