Regenerated

This commit is contained in:
2026-04-29 11:12:15 +02:00
parent 6a0f7502aa
commit 78898f78dd
4 changed files with 597 additions and 417 deletions
+70 -11
View File
@@ -968,6 +968,58 @@ in
}
#+END_SRC
** =generated/modules/traveldroid/apps/zeditor.nix=
This sets Zed Editor
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zeditor.nix :noweb yes :mkdirp yes :eval never
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
sysname = "zed";
assetPath = "${flakeRoot}/generated/.config/${sysName}";
in
{
environment.systemPackages = [ pkgs.zed-editor ];
environment.sessionVariables = {
EDITOR = "zeditor";
VISUAL = "zeditor";
};
xdg.mime.defaultApplications = {
"text/plain" = "dev.zed.Zed.desktop";
"text/x-lua" = "dev.zed.Zed.desktop";
"text/x-sql" = "dev.zed.Zed.desktop";
"text/x-org" = "dev.zed.Zed.desktop";
"text/x-script.python" = "dev.zed.Zed.desktop";
"text/x-shellscript" = "dev.zed.Zed.desktop";
"text/x-csrc" = "dev.zed.Zed.desktop";
"text/x-chdr" = "dev.zed.Zed.desktop";
"text/x-rust" = "dev.zed.Zed.desktop";
"text/x-toml" = "dev.zed.Zed.desktop";
"text/x-yaml" = "dev.zed.Zed.desktop";
"text/x-json" = "dev.zed.Zed.desktop";
"application/json" = "dev.zed.Zed.desktop";
"text/markdown" = "dev.zed.Zed.desktop";
"text/x-nix" = "dev.zed.Zed.desktop";
};
home-manager.users.${username} = {
home.activation.MakeZedMutable = {
after = [ "writeBoundary" ];
before = [];
data = ''
rm -rf $HOME/.config/${sysName}
mkdir -p $HOME/.config/${sysName}
cp -r ${assetPath}/* $HOME/.config/${sysName}/
chmod -R u+w $HOME/.config/${sysName}/
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
};
}
#+END_SRC
** =generated/modules/traveldroid/apps/zsh.nix=
This sets up the zsh in the terminal
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never
@@ -5537,21 +5589,28 @@ These are config files for Zed editor
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"icon_theme": "Catppuccin Mocha",
"agent": {
"default_model": {
"provider": "ollama",
"model": "codellama:34b",
"enable_thinking": false
},
"favorite_models": [],
"model_parameters": []
"theme": {
"mode": "system",
"light": "Catppuccin Frappé",
"dark": "Catppuccin Mocha",
},
"icon_theme": {
"mode": "system",
"light": "Catppuccin Frappé",
"dark": "Catppuccin Mocha"
},
"auto_install_extensions": {
"catppuccin": true,
"catppuccin-icons": true,
"org-mode": true,
"lua": true,
"sql": true
},
"ui_font_size": 16,
"buffer_font_size": 15,
"theme": {
"mode": "dark",
"light": "One Light",
"mode": "system",
"light": "Catppuccin Frappé",
"dark": "Catppuccin Mocha",
},
}