home/captive-browser: update chrome args to replace deprecated args
taken from https://github.com/FiloSottile/captive-browser/pull/32
This commit is contained in:
parent
57a2e3b839
commit
97e3a87d12
2 changed files with 27 additions and 2 deletions
|
@ -36,8 +36,20 @@ 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" \
|
||||||
--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost" \
|
--proxy-bypass-list="<-loopback>" \
|
||||||
--no-first-run --new-window --incognito \
|
--no-first-run \
|
||||||
|
--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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
13
home/modules/llm.nix
Normal file
13
home/modules/llm.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let myAider = pkgs.aider-chat.withOptional {withPlaywright = true; withBrowser = true; withHelp = true; withBedrock = false;};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.packages = [ myAider ];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue