No description
- Shell 81.3%
- Nix 18.7%
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| install.sh | ||
| package.nix | ||
| README.md | ||
| update.sh | ||
devin-nix
Nix flake packaging for the Devin CLI.
Usage
1. Add to your flake inputs
inputs.devin-nix.url = "git+https://git.cozygalvinism.dev/cozyGalvinism/devin-nix";
2. Add the overlay
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
modules = [
{
nixpkgs.overlays = [ inputs.devin-nix.overlays.default ];
nixpkgs.config.allowUnfree = true;
}
];
};
Then use pkgs.devin anywhere in your modules:
environment.systemPackages = [ pkgs.devin ];
Home Manager
home.packages = [ pkgs.devin ];
Without overlay
environment.systemPackages = [
inputs.devin-nix.packages.${pkgs.system}.default
];
Updating
nix run git+https://git.cozygalvinism.dev/cozyGalvinism/devin-nix#update
Or from a local clone:
./update.sh
Fetches the latest version from the Devin manifest and rewrites package.nix with the new version and hashes.