Regenerated
This commit is contained in:
+461
-395
File diff suppressed because it is too large
Load Diff
+70
-11
@@ -968,6 +968,58 @@ in
|
|||||||
}
|
}
|
||||||
#+END_SRC
|
#+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=
|
** =generated/modules/traveldroid/apps/zsh.nix=
|
||||||
This sets up the zsh in the terminal
|
This sets up the zsh in the terminal
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never
|
#+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
|
// custom settings, run `zed: open default settings` from the
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
{
|
{
|
||||||
"icon_theme": "Catppuccin Mocha",
|
"theme": {
|
||||||
"agent": {
|
"mode": "system",
|
||||||
"default_model": {
|
"light": "Catppuccin Frappé",
|
||||||
"provider": "ollama",
|
"dark": "Catppuccin Mocha",
|
||||||
"model": "codellama:34b",
|
|
||||||
"enable_thinking": false
|
|
||||||
},
|
|
||||||
"favorite_models": [],
|
|
||||||
"model_parameters": []
|
|
||||||
},
|
},
|
||||||
|
"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,
|
"ui_font_size": 16,
|
||||||
"buffer_font_size": 15,
|
"buffer_font_size": 15,
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "dark",
|
"mode": "system",
|
||||||
"light": "One Light",
|
"light": "Catppuccin Frappé",
|
||||||
"dark": "Catppuccin Mocha",
|
"dark": "Catppuccin Mocha",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,21 +7,28 @@
|
|||||||
// custom settings, run `zed: open default settings` from the
|
// custom settings, run `zed: open default settings` from the
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
{
|
{
|
||||||
"icon_theme": "Catppuccin Mocha",
|
"theme": {
|
||||||
"agent": {
|
"mode": "system",
|
||||||
"default_model": {
|
"light": "Catppuccin Frappé",
|
||||||
"provider": "ollama",
|
"dark": "Catppuccin Mocha",
|
||||||
"model": "codellama:34b",
|
|
||||||
"enable_thinking": false
|
|
||||||
},
|
|
||||||
"favorite_models": [],
|
|
||||||
"model_parameters": []
|
|
||||||
},
|
},
|
||||||
|
"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,
|
"ui_font_size": 16,
|
||||||
"buffer_font_size": 15,
|
"buffer_font_size": 15,
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "dark",
|
"mode": "system",
|
||||||
"light": "One Light",
|
"light": "Catppuccin Frappé",
|
||||||
"dark": "Catppuccin Mocha",
|
"dark": "Catppuccin Mocha",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
|
# --- 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 {} \;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user