Flake providing a NixOS module for oisd.nl blocklist, inspired by StevenBlack hosts flake.nix. Updates once a week.
{
inputs = {
nixpkg.url = "github:nixos/nixpkgs/nixos-unstable";
oisd.url = "github:delet-this/nixos-oisd";
};
outputs = { self, nixpkgs, oisd, ... }: {
nixosConfigurations.my-hostname = {
system = "x86_64-linux";
modules = [
oisd.nixosModule {
networking.oisd-blocklist = {
enable = true;
lists = [ "big" ]; # accepts "small", "big", "nsfw"
};
}
];
};
};
}