mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
24 lines
387 B
Nix
24 lines
387 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.nextdns = {
|
|
enable = false;
|
|
arguments = [
|
|
"-config"
|
|
"f57efb"
|
|
"-cache-size"
|
|
"16MB"
|
|
];
|
|
};
|
|
|
|
powerManagement.resumeCommands = ''
|
|
systemctl try-restart nextdns
|
|
'';
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nextdns
|
|
];
|
|
|
|
services.resolved.enable = true;
|
|
networking.networkmanager.dns = "systemd-resolved";
|
|
|
|
} |