mirror of
https://github.com/nmasur/dotfiles
synced 2026-04-17 03:39:46 +00:00
Compare commits
6 Commits
f8d79cdf3a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2a429d286 | ||
|
|
7f5b5eb809 | ||
|
|
f5f3a8336e | ||
|
|
4444a479d4 | ||
|
|
395c4b4348 | ||
|
|
8dbec5f6ab |
8
.claude/settings.local.json
Normal file
8
.claude/settings.local.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"WebFetch(domain:github.com)",
|
||||||
|
"WebFetch(domain:raw.githubusercontent.com)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
36
flake.lock
generated
36
flake.lock
generated
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773000227,
|
"lastModified": 1775037210,
|
||||||
"narHash": "sha256-zm3ftUQw0MPumYi91HovoGhgyZBlM4o3Zy0LhPNwzXE=",
|
"narHash": "sha256-KM2WYj6EA7M/FVZVCl3rqWY+TFV5QzSyyGE2gQxeODU=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "da529ac9e46f25ed5616fd634079a5f3c579135f",
|
"rev": "06648f4902343228ce2de79f291dd5a58ee12146",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -197,11 +197,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774007980,
|
"lastModified": 1775622785,
|
||||||
"narHash": "sha256-FOnZjElEI8pqqCvB6K/1JRHTE8o4rer8driivTpq2uo=",
|
"narHash": "sha256-/yFxO+7oS1SymDfJ2iVO7K5vJKcYfe9XGIJ+quLqz0Q=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "9670de2921812bc4e0452f6e3efd8c859696c183",
|
"rev": "527e47b78fe67213072f706bf933a9705a8c4974",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -409,11 +409,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773821835,
|
"lastModified": 1775423009,
|
||||||
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
|
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
|
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -447,11 +447,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774067930,
|
"lastModified": 1775654726,
|
||||||
"narHash": "sha256-p8Dyrxb5VQH5WAoKPJoRKKgYtuPinnVDWQlfhcBs0O4=",
|
"narHash": "sha256-4R6Bc5EIQ+HxVte1Mo1B3OkyYFVmehywOPiH3Z9CAIU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nur",
|
"repo": "nur",
|
||||||
"rev": "08e7d1fc8fc15731a4d6a664207e18828fe028cb",
|
"rev": "c73a8885bd1bb5d329e16a4512e2c2708c5981a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -483,11 +483,11 @@
|
|||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774062094,
|
"lastModified": 1775617983,
|
||||||
"narHash": "sha256-ba3c+hS7KzEiwtZRGHagIAYdcmdY3rCSWVCyn64rx7s=",
|
"narHash": "sha256-2NWGA/I4j/qlx6qbg86QvJiK1/GyH9gnf0hFiARWVwE=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "c807e83cc2e32adc35f51138b3bdef722c0812ab",
|
"rev": "d98b91b1feae7ef07fa2ccb3aa3f83f11abfae54",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -615,11 +615,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773882647,
|
"lastModified": 1774972752,
|
||||||
"narHash": "sha256-VzcOcE0LLpEnyoxLuMuptZ9ZWCkSBn99bTgEQoz5Viw=",
|
"narHash": "sha256-DnLIpFxznohpLkIFs390uZ0gxwkVyhtknhKNu+lQJK8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NixOS-WSL",
|
"repo": "NixOS-WSL",
|
||||||
"rev": "fd0eae98d1ecee31024271f8d64676250a386ee7",
|
"rev": "d97e078f4788cddb8d11c3c99f72a4bb9ddec221",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -17,23 +17,27 @@ in
|
|||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.nerd-fonts.victor-mono # Used for Vim and Terminal
|
pkgs.nerd-fonts.victor-mono # Used for Vim and Terminal
|
||||||
pkgs.nerd-fonts.hack # For Polybar, Rofi
|
pkgs.nerd-fonts.hack # For Polybar, Rofi
|
||||||
|
|
||||||
|
# Maple Mono NF (Ligature unhinted)
|
||||||
|
pkgs.maple-mono.NF-unhinted
|
||||||
];
|
];
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultFonts.monospace = [ "Victor Mono" ];
|
defaultFonts.monospace = [ "Maple Mono NF" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.windowManager.i3.config.fonts = {
|
xsession.windowManager.i3.config.fonts = {
|
||||||
names = [ "pango:Victor Mono" ];
|
# names = [ "pango:Victor Mono" ];
|
||||||
|
names = [ "pango:Maple Mono" ];
|
||||||
# style = "Regular";
|
# style = "Regular";
|
||||||
# size = 11.0;
|
# size = 11.0;
|
||||||
};
|
};
|
||||||
services.polybar.config."bar/main".font-0 = "Hack Nerd Font:size=10;2";
|
services.polybar.config."bar/main".font-0 = "Hack Nerd Font:size=10;2";
|
||||||
programs.rofi.font = "Hack Nerd Font 14";
|
programs.rofi.font = "Hack Nerd Font 14";
|
||||||
programs.alacritty.settings.font.normal.family = "VictorMono";
|
programs.alacritty.settings.font.normal.family = "Maple Mono NF";
|
||||||
programs.kitty.font.name = "VictorMono Nerd Font Mono";
|
programs.kitty.font.name = "Maple Mono NF";
|
||||||
nmasur.presets.programs.wezterm.font = "VictorMono Nerd Font Mono";
|
nmasur.presets.programs.wezterm.font = "Maple Mono NF";
|
||||||
programs.ghostty.settings.font-family = "VictorMono Nerd Font Mono";
|
programs.ghostty.settings.font-family = "Maple Mono NF";
|
||||||
services.dunst.settings.global.font = "Hack Nerd Font 14";
|
services.dunst.settings.global.font = "Hack Nerd Font 14";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ let
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo "$ZELLIJ_SESSION_NAME" > ~/.local/state/zellij-last-session
|
echo "$ZELLIJ_SESSION_NAME" > ~/.local/state/zellij-last-session
|
||||||
zellij pipe --plugin file:$(which zellij-switch.wasm) -- "--session $TARGET_SESSION"
|
${lib.getExe pkgs.zellij} action switch-session $TARGET_SESSION
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
||||||
@@ -42,13 +42,13 @@ in
|
|||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
echo "$ZELLIJ_SESSION_NAME" > ~/.local/state/zellij-last-session
|
echo "$ZELLIJ_SESSION_NAME" > ~/.local/state/zellij-last-session
|
||||||
zellij pipe --plugin file:$(which zellij-switch.wasm) -- "--cwd $TARGET_DIR --layout default --session $(basename $TARGET_DIR)"
|
${lib.getExe pkgs.zellij} action switch-session $(basename $TARGET_DIR) --cwd $TARGET_DIR --layout default
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
gh-run = {
|
gh-run = {
|
||||||
body = # fish
|
body = # fish
|
||||||
''
|
''
|
||||||
zellij action new-pane --start-suspended -- gh run watch
|
${lib.getExe pkgs.zellij} action new-pane --start-suspended -- gh run watch
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -143,8 +143,8 @@ in
|
|||||||
_args =
|
_args =
|
||||||
if pkgs.stdenv.isDarwin then
|
if pkgs.stdenv.isDarwin then
|
||||||
[
|
[
|
||||||
"env"
|
# "env"
|
||||||
"PATH=/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin"
|
# "PATH=/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin"
|
||||||
(lib.getExe zellij-switch-to-last)
|
(lib.getExe zellij-switch-to-last)
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -31,8 +31,9 @@ in
|
|||||||
pkgs.comma # Nix-index auto-launch
|
pkgs.comma # Nix-index auto-launch
|
||||||
pkgs.nix-inspect # TUI for browsing Nix configs
|
pkgs.nix-inspect # TUI for browsing Nix configs
|
||||||
|
|
||||||
pkgs.crush # AI LLM Agent
|
# pkgs.crush # AI LLM Agent
|
||||||
pkgs.gemini-cli # AI LLM Agent
|
pkgs.gemini-cli # AI LLM Agent
|
||||||
|
pkgs.pi-coding-agent # AI LLM Agent
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
pkgs.actionlint # Lint for GitHub Actions Workflows
|
||||||
pkgs.claude-code # AI LLM Agent
|
pkgs.claude-code # AI LLM Agent
|
||||||
pkgs.stable.visidata # CSV inspector
|
pkgs.stable.visidata # CSV inspector
|
||||||
pkgs.dos2unix # Convert Windows text files
|
pkgs.dos2unix # Convert Windows text files
|
||||||
|
|||||||
Reference in New Issue
Block a user