parent
977cb08ae8
commit
a42f4091d0
6 changed files with 64 additions and 55 deletions
inputs
22
inputs/README.md
Normal file
22
inputs/README.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Inputs
|
||||
|
||||
To allow use of the full nix language for my inputs, I use [genflake](https://github.com/jorsn/flakegen).
|
||||
Therefore, the flake I edit is located at `$FLAKE/_outputs.nix`.
|
||||
|
||||
I also prefer using a more descriptive format for my inputs like so:
|
||||
|
||||
```nix
|
||||
nixpkgs = {
|
||||
type = "github";
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
|
||||
# Branch name
|
||||
ref = "nixos-unstable";
|
||||
|
||||
# Pin this input to a specific commit
|
||||
rev = "842d9d80cfd4560648c785f8a4e6f3b096790e19";
|
||||
};
|
||||
```
|
||||
|
||||
to make it more clear what is what in the flake URI
|
|
@ -1,4 +1,3 @@
|
|||
# TODO: add README
|
||||
let
|
||||
inherit (import ./lib.nix) mkInput mkHyprDep mkSrc;
|
||||
inherit (builtins) listToAttrs map removeAttrs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue