This commit is contained in:
2026-02-11 22:44:15 +01:00
parent e80d6b06c0
commit 521610f044
4 changed files with 75 additions and 48 deletions

View File

@@ -1,13 +1,13 @@
{ primaryUser, ... }: { pkgs, primaryUser, ... }:
{ {
programs.git = { programs.git = {
enable = true; enable = true;
settings = { settings = {
user = { user = {
name = "DerGrumpf"; # TODO replace name = "DerGrumpf"; # TODO replace
email = "p.keier@beyerstedt-it.de"; # TODO replace email = "p.keier@beyerstedt-it.de"; # TODO replace
}; };
github = { github = {
user = primaryUser; user = primaryUser;
}; };
init = { init = {
@@ -17,4 +17,9 @@
lfs.enable = true; lfs.enable = true;
ignores = [ "**/.DS_STORE" ]; ignores = [ "**/.DS_STORE" ];
}; };
home.packages = with pkgs; [
gh
];
} }

View File

@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
# Live Server: Auto-reload browser for web development
# Uses browser-sync for live reload functionality
programs.nixvim = {
keymaps = [
{
mode = "n";
key = "<leader>ls";
action = "<cmd>terminal browser-sync start --server --files '*.html, *.css, *.js' --no-notify<cr>";
options.desc = "Start live server (browser-sync)";
}
];
extraPackages = with pkgs; [
nodePackages.browser-sync
biome
];
};
}

View File

@@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
# dev tools # dev tools
@@ -8,21 +9,17 @@
htop htop
tree tree
ripgrep ripgrep
gh # Move to git
zoxide # Move to fish
unrar unrar
# programming languages # programming languages
#mise # node, deno, bun, rust, python, etc. #mise # node, deno, bun, rust, python, etc.
# PDF Tools # PDF Tools
pandoc #pandoc
texlive.combined.scheme-full #texlive.combined.scheme-full
wkhtmltopdf #wkhtmltopdf
# misc # misc
nil # move to nixvim
biome # move to nixvim
yt-dlp yt-dlp
ffmpeg ffmpeg
]; ];

View File

@@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.packages = with pkgs; [ home.packages = with pkgs; [
eza # ls replacement eza # ls replacement
fzf # FuzzyFinder fzf # FuzzyFinder
@@ -9,7 +10,7 @@
tabiew # Table viewer tabiew # Table viewer
glow # MD Viewer glow # MD Viewer
btop btop
zoxide # Move to fish
llm # LLM in the Terminal llm # LLM in the Terminal
# Fun stuff # Fun stuff
@@ -39,31 +40,32 @@
tab_bar_min_tabs = 1; tab_bar_min_tabs = 1;
tab_bar_edge = "bottom"; tab_bar_edge = "bottom";
tab_bar_style = "custom"; # Should be changed to custom tab_bar_style = "custom"; # Should be changed to custom
tab_title_template = tab_title_template = "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
"{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
symbol_map = let symbol_map =
mappings = [ let
"U+23FB-U+23FE" mappings = [
"U+2B58" "U+23FB-U+23FE"
"U+E200-U+E2A9" "U+2B58"
"U+E0A0-U+E0A3" "U+E200-U+E2A9"
"U+E0B0-U+E0BF" "U+E0A0-U+E0A3"
"U+E0C0-U+E0C8" "U+E0B0-U+E0BF"
"U+E0CC-U+E0CF" "U+E0C0-U+E0C8"
"U+E0D0-U+E0D2" "U+E0CC-U+E0CF"
"U+E0D4" "U+E0D0-U+E0D2"
"U+E700-U+E7C5" "U+E0D4"
"U+F000-U+F2E0" "U+E700-U+E7C5"
"U+2665" "U+F000-U+F2E0"
"U+26A1" "U+2665"
"U+F400-U+F4A8" "U+26A1"
"U+F67C" "U+F400-U+F4A8"
"U+E000-U+E00A" "U+F67C"
"U+F300-U+F313" "U+E000-U+E00A"
"U+E5FA-U+E62B" "U+F300-U+F313"
]; "U+E5FA-U+E62B"
in (builtins.concatStringsSep "," mappings) + " Symbols Nerd Font Mono"; ];
in
(builtins.concatStringsSep "," mappings) + " Symbols Nerd Font Mono";
}; };
}; };
@@ -73,7 +75,13 @@
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true; enableFishIntegration = true;
settings = { ration = [ 1 3 4 ]; }; settings = {
ration = [
1
3
4
];
};
}; };
programs.zsh = { programs.zsh = {
@@ -87,8 +95,7 @@
la = "eza -la"; la = "eza -la";
f = "fzf"; f = "fzf";
i = "kitty +kitten icat"; i = "kitty +kitten icat";
"nix-switch" = "nix-switch" = "sudo nixos-rebuild switch --flake .#rpi-4";
"sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
}; };
initContent = '' initContent = ''
@@ -107,8 +114,7 @@
la = "eza -la"; la = "eza -la";
f = "fzf"; f = "fzf";
i = "kitty +kitten icat"; i = "kitty +kitten icat";
"nix-switch" = "nix-switch" = "sudo nixos-rebuild switch --flake .#rpi-4";
"sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
}; };
interactiveShellInit = '' interactiveShellInit = ''
@@ -164,8 +170,7 @@
# Git status module settings # Git status module settings
git_status = { git_status = {
format = format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](red) ($ahead_behind$stashed)]($style)";
"[[(*$conflicted$untracked$modified$staged$renamed$deleted)](red) ($ahead_behind$stashed)]($style)";
style = "bold #a6e3a1"; style = "bold #a6e3a1";
conflicted = ""; conflicted = "";
untracked = ""; untracked = "";