change orb
This commit is contained in:
parent
9b1949c0fb
commit
ccd3bb7f3d
1 changed files with 19 additions and 19 deletions
|
|
@ -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; [
|
||||
|
|
|
|||
Loading…
Reference in a new issue