fixup
This commit is contained in:
parent
7751c36e7c
commit
047e41747e
3 changed files with 6 additions and 25 deletions
|
|
@ -1,29 +1,4 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
# ccacheWrapper = prev.ccacheWrapper.override {
|
|
||||||
# extraConfig = ''
|
|
||||||
# export CCACHE_COMPRESS=1
|
|
||||||
# export CCACHE_SLOPPINESS=random_seed,time_macros
|
|
||||||
# export CCACHE_COMPILERCHECK=content
|
|
||||||
# export CCACHE_DIR="/home/thek0tyara/Documents/cache/ccache/"
|
|
||||||
# export CCACHE_UMASK=007
|
|
||||||
# if [ ! -d "$CCACHE_DIR" ]; then
|
|
||||||
# echo "====="
|
|
||||||
# echo "Directory '$CCACHE_DIR' does not exist"
|
|
||||||
# echo "Please create it with:"
|
|
||||||
# echo " sudo mkdir -m0770 '$CCACHE_DIR'"
|
|
||||||
# echo " sudo chown root:nixbld '$CCACHE_DIR'"
|
|
||||||
# echo "====="
|
|
||||||
# exit 1
|
|
||||||
# fi
|
|
||||||
# if [ ! -w "$CCACHE_DIR" ]; then
|
|
||||||
# echo "====="
|
|
||||||
# echo "Directory '$CCACHE_DIR' is not accessible for user $(whoami)"
|
|
||||||
# echo "Please verify its access permissions"
|
|
||||||
# echo "====="
|
|
||||||
# exit 1
|
|
||||||
# fi
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# xdg-desktop-portal-cosmic = prev.xdg-desktop-portal-cosmic.overrideAttrs (old: {
|
# xdg-desktop-portal-cosmic = prev.xdg-desktop-portal-cosmic.overrideAttrs (old: {
|
||||||
# postPatch = (old.postPatch or "") + ''
|
# postPatch = (old.postPatch or "") + ''
|
||||||
# unitDir="$out/lib/systemd/user"
|
# unitDir="$out/lib/systemd/user"
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,7 @@
|
||||||
"root"
|
"root"
|
||||||
"thek0tyara"
|
"thek0tyara"
|
||||||
];
|
];
|
||||||
|
sandbox = "relaxed";
|
||||||
extra-sandbox-paths = [
|
extra-sandbox-paths = [
|
||||||
"/run/sccache"
|
"/run/sccache"
|
||||||
"/var/cache/sccache"
|
"/var/cache/sccache"
|
||||||
|
|
|
||||||
5
home.nix
5
home.nix
|
|
@ -116,6 +116,11 @@
|
||||||
OLLAMA_HOST = "127.0.0.1:11434";
|
OLLAMA_HOST = "127.0.0.1:11434";
|
||||||
SCCACHE_DIR = "${config.home.homeDirectory}/.cache/sccache";
|
SCCACHE_DIR = "${config.home.homeDirectory}/.cache/sccache";
|
||||||
SCCACHE_SERVER_UDS = "${config.home.homeDirectory}/.cache/sccache/server.sock";
|
SCCACHE_SERVER_UDS = "${config.home.homeDirectory}/.cache/sccache/server.sock";
|
||||||
|
### openrouter fun
|
||||||
|
OPENROUTER_API_KEY = config.age.secrets."openrouter-open" ;
|
||||||
|
ANTHROPIC_BASE_URL = "https://openrouter.ai/api";
|
||||||
|
ANTHROPIC_AUTH_TOKEN = ${config.home.sessionVariables.OPENROUTER_API_KEY};
|
||||||
|
ANTHROPIC_API_KEY = "";
|
||||||
};
|
};
|
||||||
file = {
|
file = {
|
||||||
".config/waybar/power_menu.xml".text = ''
|
".config/waybar/power_menu.xml".text = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue