Format services.nix
This commit is contained in:
parent
5d33cecfe6
commit
9e2914d0dc
1 changed files with 44 additions and 47 deletions
|
@ -35,55 +35,52 @@
|
|||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
group = "users";
|
||||
user = "buymymojo";
|
||||
dataDir = "/home/buymymojo/Documents/Syncthing"; # Default folder for new synced folders
|
||||
configDir = "/home/buymymojo/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||
enable = true;
|
||||
group = "users";
|
||||
user = "buymymojo";
|
||||
dataDir = "/home/buymymojo/Documents/Syncthing"; # Default folder for new synced folders
|
||||
configDir = "/home/buymymojo/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
# services.blocky = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# ports.dns = 53; # Port for incoming DNS Queries.
|
||||
# upstreams.groups.default = [
|
||||
# "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries.
|
||||
# ];
|
||||
# # For initially solving DoH/DoT Requests when no system Resolver is available.
|
||||
# bootstrapDns = {
|
||||
# upstream = "https://one.one.one.one/dns-query";
|
||||
# ips = [ "1.1.1.1" "1.0.0.1" ];
|
||||
# };
|
||||
# #Enable Blocking of certian domains.
|
||||
# blocking = {
|
||||
# blackLists = {
|
||||
# #Adblocking
|
||||
# ads = [
|
||||
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
|
||||
# "https://adaway.org/hosts.txt"
|
||||
# "https://v.firebog.net/hosts/AdguardDNS.txt"
|
||||
# ];
|
||||
# #Another filter for blocking adult sites
|
||||
# adult = ["https://blocklistproject.github.io/Lists/porn.txt"];
|
||||
# #You can add additional categories
|
||||
# };
|
||||
# #Configure what block categories are used
|
||||
# clientGroupsBlock = {
|
||||
# default = [ "ads" ];
|
||||
# # kids-ipad = ["ads" "adult"];
|
||||
# };
|
||||
# };
|
||||
# customDNS = {
|
||||
# customTTL = "1h";
|
||||
# mapping = {
|
||||
# "upload.aria.coffee" = "192.168.20.2";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# services.blocky = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# ports.dns = 53; # Port for incoming DNS Queries.
|
||||
# upstreams.groups.default = [
|
||||
# "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries.
|
||||
# ];
|
||||
# # For initially solving DoH/DoT Requests when no system Resolver is available.
|
||||
# bootstrapDns = {
|
||||
# upstream = "https://one.one.one.one/dns-query";
|
||||
# ips = [ "1.1.1.1" "1.0.0.1" ];
|
||||
# };
|
||||
# #Enable Blocking of certian domains.
|
||||
# blocking = {
|
||||
# blackLists = {
|
||||
# #Adblocking
|
||||
# ads = [
|
||||
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
|
||||
# "https://adaway.org/hosts.txt"
|
||||
# "https://v.firebog.net/hosts/AdguardDNS.txt"
|
||||
# ];
|
||||
# #Another filter for blocking adult sites
|
||||
# adult = ["https://blocklistproject.github.io/Lists/porn.txt"];
|
||||
# #You can add additional categories
|
||||
# };
|
||||
# #Configure what block categories are used
|
||||
# clientGroupsBlock = {
|
||||
# default = [ "ads" ];
|
||||
# # kids-ipad = ["ads" "adult"];
|
||||
# };
|
||||
# };
|
||||
# customDNS = {
|
||||
# customTTL = "1h";
|
||||
# mapping = {
|
||||
# "upload.aria.coffee" = "192.168.20.2";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue