Reorderd
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ primaryUser, ... }:
|
{ pkgs, primaryUser, ... }:
|
||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -17,4 +17,9 @@
|
|||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
ignores = [ "**/.DS_STORE" ];
|
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 = {
|
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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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,10 +40,10 @@
|
|||||||
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 =
|
||||||
|
let
|
||||||
mappings = [
|
mappings = [
|
||||||
"U+23FB-U+23FE"
|
"U+23FB-U+23FE"
|
||||||
"U+2B58"
|
"U+2B58"
|
||||||
@@ -63,7 +64,8 @@
|
|||||||
"U+F300-U+F313"
|
"U+F300-U+F313"
|
||||||
"U+E5FA-U+E62B"
|
"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 = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user