Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 2.47 KB

README.md

File metadata and controls

74 lines (60 loc) · 2.47 KB

flakes

Automatically update

This repo uses nvfetcher to update packages automatically. See Update.hs.

Usage

Use binary cache from cachix:

$ cachix use berberman

Run a package immediately

$ nix run github:berberman/flakes#feeluown

Add the overlay to your system

In your NixOS configuration flake:

{

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    # Add as an input
    berberman = {
      url = "github:berberman/flakes";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, berberman }: {
    nixosConfigurations.my-machine = nixpkgs.lib.nixosSystem {
      # ...
      modules = [
        # ...
        { nixpkgs.overlays = [ 
            # ...
            # Add to nixpkgs overlays
            berberman.overlays.default
          ]; 
        }
      ];
    };
  };
}

Packages available