Compare commits
No commits in common. "b1444e8967545f0cad3575d4854c41e25130222c" and "57a2e3b8392a3cd8ce5b9dc7dc0bbc8ae64bf7d3" have entirely different histories.
b1444e8967
...
57a2e3b839
4 changed files with 3 additions and 53 deletions
|
@ -17,7 +17,6 @@
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
"flyingcircus.io-1:Rr9CwiPv8cdVf3EQu633IOTb6iJKnWbVfCC8x8gVz2o="
|
"flyingcircus.io-1:Rr9CwiPv8cdVf3EQu633IOTb6iJKnWbVfCC8x8gVz2o="
|
||||||
];
|
];
|
||||||
sandbox = "relaxed";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -36,20 +36,8 @@ in
|
||||||
${cfg.browserCommand} \
|
${cfg.browserCommand} \
|
||||||
--user-data-dir="$HOME/Library/Application Support/Google/Captive" \
|
--user-data-dir="$HOME/Library/Application Support/Google/Captive" \
|
||||||
--proxy-server="socks5://$PROXY" \
|
--proxy-server="socks5://$PROXY" \
|
||||||
--proxy-bypass-list="<-loopback>" \
|
--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost" \
|
||||||
--no-first-run \
|
--no-first-run --new-window --incognito \
|
||||||
--new-window \
|
|
||||||
--incognito \
|
|
||||||
--no-default-browser-check \
|
|
||||||
--no-crash-upload \
|
|
||||||
--disable-extensions \
|
|
||||||
--disable-sync \
|
|
||||||
--disable-background-networking \
|
|
||||||
--disable-client-side-phishing-detection \
|
|
||||||
--disable-component-update \
|
|
||||||
--disable-translate \
|
|
||||||
--disable-web-resources \
|
|
||||||
--safebrowsing-disable-auto-update \
|
|
||||||
http://example.com
|
http://example.com
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
inputs,
|
|
||||||
config,
|
|
||||||
system,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
myAider = pkgs.aider-chat;
|
|
||||||
# FIXME: darwin build failure due to cfn-lint-1.32.1
|
|
||||||
# myAider = pkgs.aider-chat.withOptional {
|
|
||||||
# withPlaywright = true;
|
|
||||||
# withBrowser = true;
|
|
||||||
# withHelp = true;
|
|
||||||
# withBedrock = false;
|
|
||||||
# };
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [
|
|
||||||
myAider
|
|
||||||
pkgs.claude-code
|
|
||||||
];
|
|
||||||
#nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "claude-code" ]; # nixpkgs.config merging is unfortunately broken
|
|
||||||
# TODO: API token e.g. via sops
|
|
||||||
# TODO: proper codium and llm enable options
|
|
||||||
home.sessionVariables = {
|
|
||||||
AIDER_EDITOR = "codium --wait";
|
|
||||||
DISABLE_TELEMETRY = 1; # for claude-code
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -12,7 +12,6 @@ let
|
||||||
unstable = inputs.nixos-unstable.legacyPackages.${system};
|
unstable = inputs.nixos-unstable.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./modules/llm.nix ];
|
|
||||||
|
|
||||||
schmittlauch.packages = {
|
schmittlauch.packages = {
|
||||||
graphics = true;
|
graphics = true;
|
||||||
|
@ -130,12 +129,7 @@ in
|
||||||
ThrottleInterval = 60;
|
ThrottleInterval = 60;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "1password-cli" ];
|
||||||
pkg:
|
|
||||||
builtins.elem (lib.getName pkg) [
|
|
||||||
"1password-cli"
|
|
||||||
"claude-code"
|
|
||||||
]; # nixpkgs.config merging is unfortunately broken
|
|
||||||
|
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue