Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

delet-this/nixos-oisd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nixos-oisd

Flake providing a NixOS module for oisd.nl blocklist, inspired by StevenBlack hosts flake.nix. Updates once a week.

Example usage on NixOS with flakes

{
  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"
          };
        }
      ];
    };
  };
}

Releases

No releases published

Packages

No packages published

Languages