Compare commits
No commits in common. "9376c314f11cdb7adc6eb3b9d4cf1a95a1e0448b" and "245712de7b78c3f7f756a073162241f776ec0ace" have entirely different histories.
9376c314f1
...
245712de7b
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
# aider chat started at 2025-02-07 16:38:26
|
||||
|
||||
> Newer aider version v0.74.1 is available.
|
||||
> python3.11 -m pip install --upgrade --upgrade-strategy only-if-needed aider-chat
|
||||
> Run pip install? (Y)es/(N)o [Yes]: y
|
||||
> /nix/store/8hkpwrgr7h06di861vhx612xfkrjzpak-python3-3.11.11/bin/python3.11: No module named pip
|
||||
> Add .aider*, .env to .gitignore (recommended)? (Y)es/(N)o [Yes]: n
|
||||
> /nix/store/cyihi1p1d92g2zg1frmppbm97h893adk-aider-chat-0.62.0/bin/aider
|
||||
> Warning: gpt-4o-2024-08-06 expects these environment variables
|
||||
> - OPENAI_API_KEY: Not set
|
||||
> If you just set these environment variables using `setx` you may need to restart your terminal or command prompt for the changes to take effect.
|
||||
> Warning: gpt-4o-mini expects these environment variables
|
||||
> - OPENAI_API_KEY: Not set
|
||||
> If you just set these environment variables using `setx` you may need to restart your terminal or command prompt for the changes to take effect.
|
||||
> You can skip this check with --no-show-model-warnings
|
||||
> https://aider.chat/docs/llms/warnings.html
|
||||
> Open documentation url for more info? (Y)es/(N)o [Yes]: n
|
||||
> Aider v0.62.0
|
||||
> Main model: gpt-4o-2024-08-06 with diff edit format
|
||||
> Weak model: gpt-4o-mini
|
||||
> Git repo: .git with 293 files
|
||||
> Repo-map: using 1024 tokens, auto refresh
|
||||
> Use /help <question> for help, run "aider --help" to see cmd line args
|
||||
>
|
||||
>
|
||||
> ^C again to exit
|
||||
>
|
||||
>
|
||||
> ^C KeyboardInterrupt
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
# 2025-02-10 16:27:55.065630
|
||||
+y
|
||||
|
||||
# 2025-02-10 16:28:04.851326
|
||||
+n
|
||||
Binary file not shown.
34
flake.lock
34
flake.lock
|
|
@ -110,16 +110,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1747752302,
|
||||
"narHash": "sha256-XqNAcEFfe5tJZGlx+Su0G67ZwRwZmHNWwiMK0fji0Hw=",
|
||||
"owner": "nix-darwin",
|
||||
"lastModified": 1724561770,
|
||||
"narHash": "sha256-zv8C9RNa86CIpyHwPIVO/k+5TfM8ZbjGwOOpTe1grls=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "74ecd01d2c122f8a4a48066ab1d48f3e01671671",
|
||||
"rev": "ac5694a0b855a981e81b4d9f14052e3ff46ca39e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-darwin",
|
||||
"ref": "nix-darwin-25.05",
|
||||
"owner": "LnL7",
|
||||
"ref": "master",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -496,16 +496,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1747556831,
|
||||
"narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=",
|
||||
"lastModified": 1736373539,
|
||||
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33",
|
||||
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-25.05",
|
||||
"ref": "release-24.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -770,16 +770,16 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1747610100,
|
||||
"narHash": "sha256-rpR5ZPMkWzcnCcYYo3lScqfuzEw5Uyfh+R0EKZfroAc=",
|
||||
"lastModified": 1738702386,
|
||||
"narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ca49c4304acf0973078db0a9d200fd2bae75676d",
|
||||
"rev": "030ba1976b7c0e1a67d9716b17308ccdab5b381e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-25.05",
|
||||
"ref": "nixos-24.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -1208,11 +1208,11 @@
|
|||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1747542820,
|
||||
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
|
||||
"lastModified": 1738680400,
|
||||
"narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
|
||||
"rev": "799ba5bffed04ced7067a91798353d360788b30d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
29
flake.nix
29
flake.nix
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
inputs = {
|
||||
# Nixpkgs
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hardware.url = "github:nixos/nixos-hardware";
|
||||
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
# OSX
|
||||
darwin = {
|
||||
url = "github:nix-darwin/nix-darwin/nix-darwin-25.05";
|
||||
url = "github:LnL7/nix-darwin/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-homebrew = {
|
||||
|
|
@ -124,22 +124,13 @@
|
|||
|
||||
nixpkgsFor = forAllSystems (system: import nixpkgs {
|
||||
inherit system;
|
||||
# This doesn't work...
|
||||
# on darwin, I need to export ALLOW_NIXPKGS_UNFREE=1
|
||||
# and pass --impure (have to manually copy the `nrd` command, it gets passed to the cd)
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = _: true;
|
||||
};
|
||||
# config.allowUnfree = true;
|
||||
#config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
|
||||
# "ripcord"
|
||||
# "VCV-Rack"
|
||||
# "SunVox"
|
||||
# "renoise"
|
||||
# "graphite-cli"
|
||||
# "claude-code"
|
||||
#];
|
||||
config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
|
||||
"ripcord"
|
||||
"VCV-Rack"
|
||||
"SunVox"
|
||||
"renoise"
|
||||
"graphite-cli"
|
||||
];
|
||||
# config.permittedInsecurePackages = [
|
||||
# "python3.10-django-3.1.14" # Needed for archivebox deployments on curve
|
||||
# # Check when archive box updates it's dependeny
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
home.homeDirectory = "/Users/anishlakhwara";
|
||||
home.stateVersion = "22.05";
|
||||
|
||||
programs.zsh.initContent = ''
|
||||
programs.zsh.initExtra = ''
|
||||
PATH=/Users/anishlakhwara/.sourcegraph/bin:/Users/anishlakhwara/.sourcegraph/sg.zsh_autocomplete:/Users/anishlakhwara/google-cloud-sdk/bin:/Users/anishlakhwara/google-cloud-sdk/completion.zsh.inc:/Users/anishlakhwara/google-cloud-sdk/path.zsh.inc:/Users/anishlakhwara/.sg:/opt/homebrew/bin:$PATH
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -13,14 +13,6 @@ set-option -g mouse on
|
|||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# move between tabs using vim commands
|
||||
bind-key -n C-h previous-window
|
||||
bind-key -n C-l next-window
|
||||
|
||||
# hide and restore panes
|
||||
bind-key ! break-pane -d -n _hidden_pane
|
||||
bind-key @ join-pane -s $.0
|
||||
|
||||
# don't rename windows automatically
|
||||
set-option -g allow-rename off
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
#unstable.claude-code
|
||||
binutils
|
||||
# coreutils
|
||||
dnsutils
|
||||
|
|
@ -63,10 +62,6 @@
|
|||
# ssb-patchwork
|
||||
pandoc
|
||||
taskwarrior-tui
|
||||
zk
|
||||
diffnav
|
||||
jujutsu
|
||||
git-spice
|
||||
|
||||
# llms (needs 24.11)
|
||||
aider-chat
|
||||
|
|
@ -139,7 +134,7 @@
|
|||
enableCompletion = true;
|
||||
autosuggestion.enable = false;
|
||||
|
||||
initContent = ''
|
||||
initExtra = ''
|
||||
bindkey -v
|
||||
autopair-init
|
||||
'';
|
||||
|
|
@ -284,7 +279,7 @@
|
|||
srch = "ns nixpkgs";
|
||||
orch = "ns override";
|
||||
nrb = "cd /tmp; sudo nixos-rebuild switch --flake '/home/anish/usr/helm#curve'; cd $OLDPWD";
|
||||
nrd = "cd /tmp; NIXPKGS_ALLOW_UNFREE=1 sudo darwin-rebuild switch --flake /Users/anishlakhwara/usr/helm#Anishs-MacBook-Pro --impure; cd $OLDPWD";
|
||||
nrd = "cd /tmp; darwin-rebuild switch --flake /Users/anishlakhwara/usr/helm#Anishs-MacBook-Pro; cd $OLDPWD";
|
||||
nrt = "cd /tmp; sudo nixos-rebuild test --flake '/home/anish/usr/helm#curve'; cd $OLDPWD";
|
||||
ned = "cd /home/anish/usr/helm; vim; cd $OLDPWD";
|
||||
ncd = "cd /home/anish/usr/helm";
|
||||
|
|
|
|||
|
|
@ -12,10 +12,7 @@
|
|||
userName = "Anish Lakhwara";
|
||||
userEmail = "anish+git@lakhwara.com";
|
||||
delta.enable = true;
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "7FC5DF072EF7B716";
|
||||
};
|
||||
# TODO enable signing
|
||||
|
||||
ignores = [
|
||||
"*~"
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
system.primaryUser = "anishlakhwara";
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
|
@ -55,6 +55,7 @@
|
|||
settings.trusted-users = [ "@admin" "anishlakhwara" ];
|
||||
|
||||
gc = {
|
||||
user = "root";
|
||||
automatic = true;
|
||||
interval = { Weekday = 0; Hour = 2; Minute = 0; };
|
||||
options = "--delete-older-than 30d";
|
||||
|
|
@ -84,9 +85,7 @@
|
|||
siji
|
||||
font-awesome
|
||||
proggyfonts
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.droid-sans-mono
|
||||
nerd-fonts.iosevka
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "Iosevka" ]; })
|
||||
];
|
||||
|
||||
system = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue