Compare commits
4 Commits
ec0c33109e
...
e4a20ddeb9
| Author | SHA1 | Date | |
|---|---|---|---|
| e4a20ddeb9 | |||
| e4d859a6ae | |||
| 627e5cc5cd | |||
| e5416214ad |
@@ -8,6 +8,7 @@
|
|||||||
./plugins/conform.nix
|
./plugins/conform.nix
|
||||||
./plugins/diffview.nix
|
./plugins/diffview.nix
|
||||||
./plugins/grug-far.nix
|
./plugins/grug-far.nix
|
||||||
|
./plugins/hardtime.nix
|
||||||
./plugins/harpoon.nix
|
./plugins/harpoon.nix
|
||||||
./plugins/hunk.nix
|
./plugins/hunk.nix
|
||||||
./plugins/jj-diffconflicts.nix
|
./plugins/jj-diffconflicts.nix
|
||||||
|
|||||||
@@ -440,6 +440,19 @@
|
|||||||
action = "<C-w>=";
|
action = "<C-w>=";
|
||||||
options.desc = "Equalize windows";
|
options.desc = "Equalize windows";
|
||||||
}
|
}
|
||||||
|
# scrolling
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<C-d>";
|
||||||
|
action = "<C-d>zz";
|
||||||
|
options.desc = "Scroll down and center";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<C-u>";
|
||||||
|
action = "<C-u>zz";
|
||||||
|
options.desc = "Scroll up and center";
|
||||||
|
}
|
||||||
# other
|
# other
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|||||||
7
modules/_neovim/plugins/hardtime.nix
Normal file
7
modules/_neovim/plugins/hardtime.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
programs.nixvim.plugins = {
|
||||||
|
hardtime = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -51,6 +51,35 @@ in {
|
|||||||
wrap = true,
|
wrap = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
icons = {
|
||||||
|
preset = "nerdfonts",
|
||||||
|
overrides = {
|
||||||
|
header_user = "▌ ",
|
||||||
|
header_assistant = " ",
|
||||||
|
run = " ",
|
||||||
|
task = " ",
|
||||||
|
read = " ",
|
||||||
|
edit = " ",
|
||||||
|
write = " ",
|
||||||
|
plan = " ",
|
||||||
|
search = " ",
|
||||||
|
web = " ",
|
||||||
|
list = " ",
|
||||||
|
tool = " ",
|
||||||
|
snapshot = " ",
|
||||||
|
file = " ",
|
||||||
|
folder = " ",
|
||||||
|
attached_file = " ",
|
||||||
|
agent = " ",
|
||||||
|
reasoning = " ",
|
||||||
|
question = " ",
|
||||||
|
completed = " ",
|
||||||
|
pending = " ",
|
||||||
|
running = " ",
|
||||||
|
bash = " ",
|
||||||
|
command = " ",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,15 @@
|
|||||||
inputs',
|
inputs',
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = [
|
||||||
|
inputs'.llm-agents.packages.claude-code
|
||||||
|
pkgs.nono
|
||||||
|
];
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
noc = "nono run -s --allow-cwd --profile opencode --allow ~/.bun --allow ~/.local/share/opensrc --allow ~/.config/jj --network-profile developer --proxy-allow models.dev --proxy-allow chatgpt.com --proxy-allow mcp.grep.app --proxy-allow mcp.context7.com --proxy-allow mcp.exa.ai -- opencode";
|
||||||
|
};
|
||||||
|
|
||||||
programs.opencode = {
|
programs.opencode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs'.llm-agents.packages.opencode;
|
package = inputs'.llm-agents.packages.opencode;
|
||||||
@@ -61,15 +70,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.shellAliases = {
|
|
||||||
noc = "nono run -s --allow-cwd --profile opencode --allow ~/.bun --allow ~/.local/share/opensrc --allow ~/.config/jj --network-profile developer --proxy-allow models.dev --proxy-allow chatgpt.com --proxy-allow mcp.grep.app --proxy-allow mcp.context7.com --proxy-allow mcp.exa.ai -- opencode";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = [
|
|
||||||
inputs'.llm-agents.packages.claude-code
|
|
||||||
pkgs.nono
|
|
||||||
];
|
|
||||||
|
|
||||||
systemd.user.services.opencode-server = {
|
systemd.user.services.opencode-server = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "OpenCode AI server";
|
Description = "OpenCode AI server";
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
# System utilities
|
||||||
|
environment.systemPackages =
|
||||||
|
lib.optionals pkgs.stdenv.isLinux [
|
||||||
|
pkgs.lm_sensors
|
||||||
|
];
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
environment.shells = [pkgs.nushell];
|
environment.shells = [pkgs.nushell];
|
||||||
|
|
||||||
@@ -33,11 +39,5 @@
|
|||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# System utilities
|
|
||||||
environment.systemPackages =
|
|
||||||
lib.optionals pkgs.stdenv.isLinux [
|
|
||||||
pkgs.lm_sensors
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,13 @@
|
|||||||
|
|
||||||
system.primaryUser = "cschmatzler";
|
system.primaryUser = "cschmatzler";
|
||||||
|
|
||||||
|
# Darwin system utilities
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
alcove
|
||||||
|
dockutil
|
||||||
|
mas
|
||||||
|
];
|
||||||
|
|
||||||
system.defaults = {
|
system.defaults = {
|
||||||
NSGlobalDomain = {
|
NSGlobalDomain = {
|
||||||
AppleInterfaceStyle = null;
|
AppleInterfaceStyle = null;
|
||||||
@@ -140,12 +147,5 @@
|
|||||||
"tidal"
|
"tidal"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Darwin system utilities
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
alcove
|
|
||||||
dockutil
|
|
||||||
mas
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,10 @@
|
|||||||
jj-starship.url = "github:dmmulroy/jj-starship";
|
jj-starship.url = "github:dmmulroy/jj-starship";
|
||||||
zjstatus.url = "github:dj95/zjstatus";
|
zjstatus.url = "github:dj95/zjstatus";
|
||||||
tuicr.url = "github:agavra/tuicr";
|
tuicr.url = "github:agavra/tuicr";
|
||||||
|
fenix = {
|
||||||
|
url = "github:nix-community/fenix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
naersk = {
|
naersk = {
|
||||||
url = "github:nix-community/naersk/master";
|
url = "github:nix-community/naersk/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -71,6 +75,10 @@
|
|||||||
url = "github:always-further/nono";
|
url = "github:always-further/nono";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
vite-plus = {
|
||||||
|
url = "github:voidzero-dev/vite-plus/v0.1.11";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
# Secrets inputs
|
# Secrets inputs
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs;
|
||||||
|
lib.optionals stdenv.isDarwin [
|
||||||
|
_1password-gui
|
||||||
|
raycast
|
||||||
|
];
|
||||||
|
|
||||||
programs.aerospace = {
|
programs.aerospace = {
|
||||||
enable = true;
|
enable = true;
|
||||||
launchd.enable = true;
|
launchd.enable = true;
|
||||||
@@ -144,11 +150,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
|
||||||
lib.optionals stdenv.isDarwin [
|
|
||||||
_1password-gui
|
|
||||||
raycast
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,40 @@
|
|||||||
}: let
|
}: let
|
||||||
name = "Christoph Schmatzler";
|
name = "Christoph Schmatzler";
|
||||||
in {
|
in {
|
||||||
|
home.packages = with pkgs;
|
||||||
|
[
|
||||||
|
alejandra
|
||||||
|
ast-grep
|
||||||
|
bun
|
||||||
|
delta
|
||||||
|
deadnix
|
||||||
|
devenv
|
||||||
|
docker
|
||||||
|
docker-compose
|
||||||
|
gh
|
||||||
|
gnumake
|
||||||
|
hyperfine
|
||||||
|
jj-ryu
|
||||||
|
jj-starship
|
||||||
|
nil
|
||||||
|
nodejs_24
|
||||||
|
nurl
|
||||||
|
pnpm
|
||||||
|
postgresql_17
|
||||||
|
serie
|
||||||
|
sqlite
|
||||||
|
statix
|
||||||
|
tea
|
||||||
|
tokei
|
||||||
|
tree-sitter
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.isDarwin [
|
||||||
|
xcodes
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.isLinux [
|
||||||
|
gcc15
|
||||||
|
];
|
||||||
|
|
||||||
# Git configuration
|
# Git configuration
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -197,39 +231,5 @@
|
|||||||
auto_install = false;
|
auto_install = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
|
||||||
[
|
|
||||||
alejandra
|
|
||||||
ast-grep
|
|
||||||
bun
|
|
||||||
delta
|
|
||||||
deadnix
|
|
||||||
devenv
|
|
||||||
docker
|
|
||||||
docker-compose
|
|
||||||
gh
|
|
||||||
gnumake
|
|
||||||
hyperfine
|
|
||||||
jj-ryu
|
|
||||||
jj-starship
|
|
||||||
nil
|
|
||||||
nodejs_24
|
|
||||||
nurl
|
|
||||||
pnpm
|
|
||||||
postgresql_17
|
|
||||||
serie
|
|
||||||
sqlite
|
|
||||||
statix
|
|
||||||
tea
|
|
||||||
tokei
|
|
||||||
tree-sitter
|
|
||||||
]
|
|
||||||
++ lib.optionals stdenv.isDarwin [
|
|
||||||
xcodes
|
|
||||||
]
|
|
||||||
++ lib.optionals stdenv.isLinux [
|
|
||||||
gcc15
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
vivid
|
||||||
|
];
|
||||||
|
|
||||||
programs.nushell = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@@ -223,6 +227,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Vi mode indicators — Starship handles the character (green/red for
|
||||||
|
# success/error), nushell adds a dot for normal mode.
|
||||||
|
$env.PROMPT_INDICATOR_VI_INSERT = "· "
|
||||||
|
$env.PROMPT_INDICATOR_VI_NORMAL = "\e[1;38;2;40;105;131m·\e[0m "
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -272,9 +281,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
vivid
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,44 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs;
|
||||||
|
[
|
||||||
|
dust
|
||||||
|
fastfetch
|
||||||
|
fd
|
||||||
|
glow
|
||||||
|
htop
|
||||||
|
jq
|
||||||
|
killall
|
||||||
|
lsof
|
||||||
|
ouch
|
||||||
|
ov
|
||||||
|
sd
|
||||||
|
tree
|
||||||
|
tuicr
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.isLinux [
|
||||||
|
ghostty.terminfo
|
||||||
|
];
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
FZF_DEFAULT_OPTS = ''
|
||||||
|
--bind=alt-k:up,alt-j:down
|
||||||
|
--expect=tab,enter
|
||||||
|
--layout=reverse
|
||||||
|
--delimiter='\t'
|
||||||
|
--with-nth=1
|
||||||
|
--preview-window='border-rounded' --prompt=' ' --marker=' ' --pointer=' '
|
||||||
|
--separator='─' --scrollbar='┃' --layout='reverse'
|
||||||
|
|
||||||
|
--color=bg+:#f2e9e1,bg:#faf4ed,spinner:#ea9d34,hl:#d7827e
|
||||||
|
--color=fg:#797593,header:#286983,info:#56949f,pointer:#907aa9
|
||||||
|
--color=marker:#b4637a,fg+:#575279,prompt:#797593,hl+:#d7827e
|
||||||
|
--color=selected-bg:#f2e9e1
|
||||||
|
--color=border:#dfdad9,label:#575279
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile."ghostty/config".text = ''
|
xdg.configFile."ghostty/config".text = ''
|
||||||
command = ${pkgs.nushell}/bin/nu
|
command = ${pkgs.nushell}/bin/nu
|
||||||
theme = Rose Pine Dawn
|
theme = Rose Pine Dawn
|
||||||
@@ -51,24 +89,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
FZF_DEFAULT_OPTS = ''
|
|
||||||
--bind=alt-k:up,alt-j:down
|
|
||||||
--expect=tab,enter
|
|
||||||
--layout=reverse
|
|
||||||
--delimiter='\t'
|
|
||||||
--with-nth=1
|
|
||||||
--preview-window='border-rounded' --prompt=' ' --marker=' ' --pointer=' '
|
|
||||||
--separator='─' --scrollbar='┃' --layout='reverse'
|
|
||||||
|
|
||||||
--color=bg+:#f2e9e1,bg:#faf4ed,spinner:#ea9d34,hl:#d7827e
|
|
||||||
--color=fg:#797593,header:#286983,info:#56949f,pointer:#907aa9
|
|
||||||
--color=marker:#b4637a,fg+:#575279,prompt:#797593,hl+:#d7827e
|
|
||||||
--color=selected-bg:#f2e9e1
|
|
||||||
--color=border:#dfdad9,label:#575279
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ripgrep = {
|
programs.ripgrep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
arguments = [
|
arguments = [
|
||||||
@@ -135,25 +155,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
|
||||||
[
|
|
||||||
dust
|
|
||||||
fastfetch
|
|
||||||
fd
|
|
||||||
glow
|
|
||||||
htop
|
|
||||||
jq
|
|
||||||
killall
|
|
||||||
lsof
|
|
||||||
ouch
|
|
||||||
ov
|
|
||||||
sd
|
|
||||||
tree
|
|
||||||
tuicr
|
|
||||||
]
|
|
||||||
++ lib.optionals stdenv.isLinux [
|
|
||||||
ghostty.terminfo
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user