Skip to content

Commit

Permalink
use aider from nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
elohmeier committed Aug 16, 2024
1 parent db87771 commit 2a12b6f
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 121 deletions.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs-rpi4.url = "github:elohmeier/nixpkgs/2bd04c7d2efbd5c7ce1d626baaa6303eb578dc27";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixvim = {
url = "github:nix-community/nixvim";
Expand Down
1 change: 0 additions & 1 deletion modules/flake/overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
})).override
{ withNerdIcons = true; };
prom-checktlsa = final.callPackage ../../packages/prom-checktlsa { };
aider = pkgsUnstable.callPackage ../../packages/aider { };

fzf-no-fish = final.fzf.overrideAttrs (old: {
postInstall =
Expand Down
7 changes: 1 addition & 6 deletions modules/flake/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ _: {
{ pkgs, ... }:
{
packages = {
inherit (pkgs)
aider
edge-tts
prom-checktlsa
zathura-darwin
;
inherit (pkgs) edge-tts prom-checktlsa zathura-darwin;
};
};
}
16 changes: 9 additions & 7 deletions modules/home/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
self,
lib,
withSystem,
inputs,
...
}:
{ self, inputs, ... }:

{
flake.homeModules = {
Expand Down Expand Up @@ -37,6 +31,14 @@
};

extraSpecialArgs = {
pkgsMaster = import inputs.nixpkgs-master {
system = "aarch64-darwin";
overlays = [
self.overlays.default
inputs.nvim-config.overlays.default
];
config.allowUnfree = true;
};
pkgsUnstable = import inputs.nixpkgs-unstable {
system = "aarch64-darwin";
overlays = [
Expand Down
3 changes: 2 additions & 1 deletion modules/home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ p@{
config,
lib,
pkgs,
pkgsMaster,
...
}:

Expand Down Expand Up @@ -57,7 +58,7 @@ in
age
age-plugin-yubikey
awscli2
aider
pkgsMaster.aider-chat
azure-cli
bat
btop
Expand Down
100 changes: 0 additions & 100 deletions packages/aider/default.nix

This file was deleted.

6 changes: 0 additions & 6 deletions update-packages.sh

This file was deleted.

0 comments on commit 2a12b6f

Please sign in to comment.