Skip to content

Commit

Permalink
Merge pull request #29 from diniamo/main
Browse files Browse the repository at this point in the history
Docs: Nix installation
  • Loading branch information
Wraient authored Jan 23, 2025
2 parents 5cdcea8 + 80d83d0 commit aa5a8bd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,32 @@ curd
```
</details>

<details>
<summary>NixOS Installation</summary>

1. Add curd as a flake input, for example:
```nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
curd = {
url = "github:Wraient/curd";
inputs.nixpkgs.follows = "nixpkgs";
};
}
}
```
2. Install the package, for example:
```nix
{inputs, pkgs, ...}: {
environment.systemPackages = [
inputs.curd.packages.${pkgs.system}.default
];
}
```

</details>

<details>
<summary>Generic Installation</summary>

Expand Down
1 change: 1 addition & 0 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ in
homepage = "https://github.com/Wraient/curd";
license = lib.licenses.gpl3;
platforms = lib.platforms.unix;
maintainers = [lib.maintainers.diniamo];
mainProgram = "curd";
};
}

0 comments on commit aa5a8bd

Please sign in to comment.