https://github.com/johnae/nix-misc
Assorted Nix utility functions and derivations.
https://github.com/johnae/nix-misc
Last synced: about 1 year ago
JSON representation
Assorted Nix utility functions and derivations.
- Host: GitHub
- URL: https://github.com/johnae/nix-misc
- Owner: johnae
- Created: 2020-08-06T18:26:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-23T23:02:04.000Z (over 4 years ago)
- Last Synced: 2025-01-31T13:12:54.592Z (over 1 year ago)
- Language: Nix
- Size: 32.2 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nix-misc
Nix utility functions and derivations.
## Usage
This is intended to be used as a Nix flake input. Eg. (contrived example):
```nix
{
description = "Flake using Nix-misc";
inputs.nix-misc.url = "github:johnae/nix-misc";
outputs = { self, nixpkgs, nix-misc }:
let
pkgs = import inputs.nixpkgs {
localSystem = { system = "x86_64-linux"; };
overlays = [
inputs.nix-misc.overlay
];
config = {
allowUnfree = true;
};
};
in
{
# ... use pkgs with nix-misc overlay here ...
}
}
```