Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (28 loc) · 815 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 815 Bytes

arouteserver.nix


Arouteserver got upstreamed to nixpkgs in NixOS/nixpkgs#353218. See https://search.nixos.org/packages?channel=24.11&from=0&size=50&sort=relevance&type=packages&query=arouteserver.


Nix derivation for arouteserver.

Usage

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
    arouteserver = {
      url = "github:dd-ix/arouteserver.nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, arouteserver, ... }: {
    nixosConfigurations = {
      hostname = nixpkgs.lib.nixosSystem {
        modules = [
          arouteserver.nixosModules.default
          { nixpkgs.overlays = [ arouteserver.overlays.default ]; }
        ];
      };
    };
  };
}