Reorderd
This commit is contained in:
17
home/git.nix
17
home/git.nix
@@ -1,13 +1,13 @@
|
||||
{ primaryUser, ... }:
|
||||
{ pkgs, primaryUser, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = "DerGrumpf"; # TODO replace
|
||||
email = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
};
|
||||
github = {
|
||||
user = {
|
||||
name = "DerGrumpf"; # TODO replace
|
||||
email = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
};
|
||||
github = {
|
||||
user = primaryUser;
|
||||
};
|
||||
init = {
|
||||
@@ -17,4 +17,9 @@
|
||||
lfs.enable = true;
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
gh
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
20
home/neovim/live-server.nix
Normal file
20
home/neovim/live-server.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
# dev tools
|
||||
@@ -8,21 +9,17 @@
|
||||
htop
|
||||
tree
|
||||
ripgrep
|
||||
gh # Move to git
|
||||
zoxide # Move to fish
|
||||
unrar
|
||||
|
||||
# programming languages
|
||||
#mise # node, deno, bun, rust, python, etc.
|
||||
|
||||
# PDF Tools
|
||||
pandoc
|
||||
texlive.combined.scheme-full
|
||||
wkhtmltopdf
|
||||
#pandoc
|
||||
#texlive.combined.scheme-full
|
||||
#wkhtmltopdf
|
||||
|
||||
# misc
|
||||
nil # move to nixvim
|
||||
biome # move to nixvim
|
||||
yt-dlp
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
eza # ls replacement
|
||||
fzf # FuzzyFinder
|
||||
@@ -9,7 +10,7 @@
|
||||
tabiew # Table viewer
|
||||
glow # MD Viewer
|
||||
btop
|
||||
|
||||
zoxide # Move to fish
|
||||
llm # LLM in the Terminal
|
||||
|
||||
# Fun stuff
|
||||
@@ -39,31 +40,32 @@
|
||||
tab_bar_min_tabs = 1;
|
||||
tab_bar_edge = "bottom";
|
||||
tab_bar_style = "custom"; # Should be changed to custom
|
||||
tab_title_template =
|
||||
"{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
|
||||
tab_title_template = "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
|
||||
|
||||
symbol_map = let
|
||||
mappings = [
|
||||
"U+23FB-U+23FE"
|
||||
"U+2B58"
|
||||
"U+E200-U+E2A9"
|
||||
"U+E0A0-U+E0A3"
|
||||
"U+E0B0-U+E0BF"
|
||||
"U+E0C0-U+E0C8"
|
||||
"U+E0CC-U+E0CF"
|
||||
"U+E0D0-U+E0D2"
|
||||
"U+E0D4"
|
||||
"U+E700-U+E7C5"
|
||||
"U+F000-U+F2E0"
|
||||
"U+2665"
|
||||
"U+26A1"
|
||||
"U+F400-U+F4A8"
|
||||
"U+F67C"
|
||||
"U+E000-U+E00A"
|
||||
"U+F300-U+F313"
|
||||
"U+E5FA-U+E62B"
|
||||
];
|
||||
in (builtins.concatStringsSep "," mappings) + " Symbols Nerd Font Mono";
|
||||
symbol_map =
|
||||
let
|
||||
mappings = [
|
||||
"U+23FB-U+23FE"
|
||||
"U+2B58"
|
||||
"U+E200-U+E2A9"
|
||||
"U+E0A0-U+E0A3"
|
||||
"U+E0B0-U+E0BF"
|
||||
"U+E0C0-U+E0C8"
|
||||
"U+E0CC-U+E0CF"
|
||||
"U+E0D0-U+E0D2"
|
||||
"U+E0D4"
|
||||
"U+E700-U+E7C5"
|
||||
"U+F000-U+F2E0"
|
||||
"U+2665"
|
||||
"U+26A1"
|
||||
"U+F400-U+F4A8"
|
||||
"U+F67C"
|
||||
"U+E000-U+E00A"
|
||||
"U+F300-U+F313"
|
||||
"U+E5FA-U+E62B"
|
||||
];
|
||||
in
|
||||
(builtins.concatStringsSep "," mappings) + " Symbols Nerd Font Mono";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -73,7 +75,13 @@
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
|
||||
settings = { ration = [ 1 3 4 ]; };
|
||||
settings = {
|
||||
ration = [
|
||||
1
|
||||
3
|
||||
4
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
@@ -87,8 +95,7 @@
|
||||
la = "eza -la";
|
||||
f = "fzf";
|
||||
i = "kitty +kitten icat";
|
||||
"nix-switch" =
|
||||
"sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
|
||||
"nix-switch" = "sudo nixos-rebuild switch --flake .#rpi-4";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
@@ -107,8 +114,7 @@
|
||||
la = "eza -la";
|
||||
f = "fzf";
|
||||
i = "kitty +kitten icat";
|
||||
"nix-switch" =
|
||||
"sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
|
||||
"nix-switch" = "sudo nixos-rebuild switch --flake .#rpi-4";
|
||||
};
|
||||
|
||||
interactiveShellInit = ''
|
||||
@@ -164,8 +170,7 @@
|
||||
|
||||
# Git status module settings
|
||||
git_status = {
|
||||
format =
|
||||
"[[(*$conflicted$untracked$modified$staged$renamed$deleted)](red) ($ahead_behind$stashed)]($style)";
|
||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](red) ($ahead_behind$stashed)]($style)";
|
||||
style = "bold #a6e3a1";
|
||||
conflicted = "";
|
||||
untracked = "";
|
||||
|
||||
Reference in New Issue
Block a user