Extra network-manager restartIfChanged logic.
This commit is contained in:
parent
7846a0da2d
commit
393a699de3
@ -16,6 +16,7 @@
|
|||||||
./huion.nix
|
./huion.nix
|
||||||
./rtl8761b.nix
|
./rtl8761b.nix
|
||||||
./unstable-nix.nix
|
./unstable-nix.nix
|
||||||
|
./nm-restart.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc."lvm/lvm.conf".text = ''
|
environment.etc."lvm/lvm.conf".text = ''
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
./v4l2loopback.nix
|
./v4l2loopback.nix
|
||||||
./huion.nix
|
./huion.nix
|
||||||
./nvim05.nix
|
./nvim05.nix
|
||||||
|
./nm-restart.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
@ -112,6 +113,4 @@
|
|||||||
subpixel.rgba = "none";
|
subpixel.rgba = "none";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.NetworkManager.restartIfChanged = false;
|
|
||||||
systemd.services.NetworkManager-dispatcher.restartIfChanged = false;
|
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
./huion.nix
|
./huion.nix
|
||||||
./spacenav.nix
|
./spacenav.nix
|
||||||
./nvim05.nix
|
./nvim05.nix
|
||||||
|
./nm-restart.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
8
nm-restart.nix
Normal file
8
nm-restart.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
systemd.services.NetworkManager.restartIfChanged = false;
|
||||||
|
systemd.services.NetworkManager-dispatcher.restartIfChanged = false;
|
||||||
|
systemd.services.NetworkManager-wait-online.restartIfChanged = false;
|
||||||
|
systemd.services.wpa_supplicant.restartIfChanged = false;
|
||||||
|
}
|
@ -13,6 +13,7 @@
|
|||||||
./v4l2loopback.nix
|
./v4l2loopback.nix
|
||||||
./huion.nix
|
./huion.nix
|
||||||
./nvim05.nix
|
./nvim05.nix
|
||||||
|
./nm-restart.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
@ -155,8 +156,4 @@
|
|||||||
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
systemd.services.NetworkManager.restartIfChanged = false;
|
|
||||||
systemd.services.NetworkManager-dispatcher.restartIfChanged = false;
|
|
||||||
systemd.services.wpa_supplicant.restartIfChanged = false;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user