refractor: on chezmoi

Add multiple variables in chezmoi.toml, apply a more detailed ignore rule

Use of chezmoi scripts

Use Neogit for default git GUI (TUI)

Integrate chezmoi with age
This commit is contained in:
js0ny 2025-11-08 07:24:43 +00:00
parent 5921775239
commit 2a1127bf10
38 changed files with 988 additions and 129 deletions

View file

@ -1,5 +1,8 @@
{pkgs, ...}: let
nvimAlias = {"v" = "nvim";};
nvimAlias = {
"v" = "nvim";
"g" = "nvim +Neogit";
};
in {
programs.neovim = {
enable = true;

View file

@ -4,4 +4,34 @@
rofimoji
rofi-power-menu
];
# The default desktop entry does not have `categories` field, add it manually.
xdg.desktopEntries = {
"rofi" = {
name = "Rofi";
genericName = "Launcher";
comment = "A versatile window switcher, application launcher, and dmenu replacement";
icon = "rofi";
type = "Application";
terminal = false;
categories = [
"System"
"Utility"
];
exec = "rofi -show";
};
"rofi-theme-selector" = {
name = "Rofi Theme Selector";
genericName = "Theme Selector";
comment = "Select a theme for Rofi";
icon = "rofi";
type = "Application";
terminal = false;
categories = [
"System"
"Utility"
];
exec = "rofi-theme-selector";
};
};
}

View file

@ -1,6 +1,5 @@
{pkgs}: let
commonAliases = {
g = "lazygit";
ni = "touch";
cls = "clear";
aic = "aichat -s";
@ -8,6 +7,7 @@
nrs = "sudo nixos-rebuild switch --flake ~/.dotfiles/nixcfgs";
clip = "wl-copy";
paste = "wl-paste";
ipy = "nix run 'nixpkgs#python313Packages.ipython'"; # IPython
};
darwinAliases = {
reboot = "sudo reboot";