Skip to content

cristianoliveira/nixpkgs

Repository files navigation

[C]ristian [O]liveira nixpkgs

periodic nixbuild

My collection of packages distributed as a nix flake.

Usage

Using nix flakes

{
  description = "My ergo nix configuration";

  inputs = { 
    nixpkgs.url = "github:NixOS/nixpkgs";
    conixpkgs = {
      url = "github:cristianoliveira/nixpkgs";
      flake = false;
    };
  };

  outputs = { self, nixpkgs, conixpkgs, ... }:
  { 
    nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ({ config, pkgs, ... }: { 
         # Injects conixpkgs into nixpkgs as "co"
         # and then can be referenced as `pkgs.co.ergo`
         nixpkgs.overlays = [ 
            (final: prev: { co = import conixpkgs { inherit pkgs; }; })
          ];
        })

        # Exemplo of installing a package from conixpkgs
        ({ config, pkgs, ... }: {
          environment.systemPackages = [
            pkgs.co.ergoProxy
            pkgs.co.funzzy
          ];
        })
      ];
    };
  };
}

Packages available

  • ergo - A reverse proxy agent for local domain management add subdomains to localhost
  • funzzy - A lightweight watcher that runs command when files change.

About

Cristian Oliveira's nix packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published