An open API service indexing awesome lists of open source software.

https://github.com/fps/nixos-addblock-hosts

A nixos configuration file that you can import from configuration.nix to block common ad/tracker hosts
https://github.com/fps/nixos-addblock-hosts

Last synced: 3 days ago
JSON representation

A nixos configuration file that you can import from configuration.nix to block common ad/tracker hosts

Awesome Lists containing this project

README

          

# nixos-addblock-hosts
A nixos configuration file that you can import from configuration.nix to block common ad/tracker hosts

Download hosts.nix to /etc/nixos/hosts.nix and add it as import to your /etc/nixos/configuration.nix like this (example):


# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./hosts.nix
];

...

Also note this comment from the top of the original hosts file:


# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.