Coder Social home page Coder Social logo

fnctl-overlay's Introduction

NixPkgs Overlay

"Just add <nixpkgs>."

Collection of custom Nix/NixOS packages that may be useful. Each file/directory in ./pkgs/ corresponds to a package exported by this overlay.

Directly as NixOS module OR NixOS overlay:

USE ONLY ONE of the TWO (2) options below.

{ config, pkgs, lib, options, ... }: {
 # -----------------
 # (1) Add this to add it as an overlay, this avoids adding it to `nix.nixPath`.
 # nixpkgs.overlays = [ /path/to/overlay ];
 # -----------------
 # (2) Add this to add it as a module, this adds it to `nix.nixPath` as
 # `<fnctlPkgs>` for easy CLI usage.
 # imports = [ /path/to/overlay/nixos.nix ];
 # -----------------

 # Now, you have access to the packages contained here.
 environment.systemPackages = with pkgs; [
   fnctlPkgs.foo.somePackageName
 ];
}

Can be used as NixPkgs Overlay:

with (import <nixpkgs> {
  # config = [];
  overlays = [
    /path/to/overlay
  ];
});

Can be used in NixOS Overlays:

{ config, pkgs, lib, options, ... }:
{
}

Contributing

Packages MUST (at least strive for, kinda?):

  • Serve as well as documentation as they do code.
  • Be documented extensively. Seriously, get that?
  • Use verbose variable names for clarity where ever its reasonable.
  • Strive to keep functions as generic as possible.

The packages should be documented extensively and their functions should be kept simple, minimal and verifiable. Variable names should strive to be clear for external users' consumption. This repo can serve as a reference, or a cheatsheet.

There are not tests yet, but we should obviously add them.

fnctl-overlay's People

Contributors

jakelogemann avatar christinegraham avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.