-
Notifications
You must be signed in to change notification settings - Fork 190
Nix
Olivier Poitrey edited this page Jan 26, 2023
·
1 revision
The NextDNS installer will not work due to the declarative nature of the paths. Upgrades are handled by the package manager.
Within /etc/nixos/configuration.nix
:
- Add
nextdns
toenvironment.systemPackages
. - Configure the systemd service.
services.nextdns = {
enable = true;
arguments = [ "-config" "10.0.3.0/24=abcdef" "-cache-size" "10MB" ];
};
- Run
nixos-rebuild switch
to install the package and enable the service.