change orb

This commit is contained in:
jmarkin 2025-10-17 10:24:19 +03:00
parent 9b1949c0fb
commit ccd3bb7f3d

View file

@ -21,25 +21,25 @@ in
users.users.kron.extraGroups = [ "wheel" "orbstack" "docker" ];
systemd.services.disable_ipv6 = {
enable = true;
description = "disable ipv6";
unitConfig = {
AssertPathExists = "/proc/sys/net/ipv6/conf/eth0/disable_ipv6";
After = "systemd-networkd.service";
PartOf = "systemd-networkd.service";
};
serviceConfig = {
Type = "oneshot";
ExecStart="${pkgs.busybox}/bin/echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6";
};
wantedBy = [ "systemd-networkd.service" ];
};
boot.kernel.sysctl = {
"net.ipv6.conf.all.disable_ipv6" = true;
"net.ipv6.conf.default.disable_ipv6" = true;
};
# systemd.services.disable_ipv6 = {
# enable = true;
# description = "disable ipv6";
# unitConfig = {
# AssertPathExists = "/proc/sys/net/ipv6/conf/eth0/disable_ipv6";
# After = "systemd-networkd.service";
# PartOf = "systemd-networkd.service";
# };
# serviceConfig = {
# Type = "oneshot";
# ExecStart="${pkgs.busybox}/bin/echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6";
# };
# wantedBy = [ "systemd-networkd.service" ];
# };
#
# boot.kernel.sysctl = {
# "net.ipv6.conf.all.disable_ipv6" = true;
# "net.ipv6.conf.default.disable_ipv6" = true;
# };
security.pki.certificates = certs;
environment.systemPackages = with pkgs; [