Compare commits

..

3 Commits

Author SHA1 Message Date
a47b67faff haha 2026-01-06 14:28:22 +00:00
d0168cafe1 refactor 2026-01-06 14:28:22 +00:00
afd0ec1001 cache 2026-01-06 14:28:22 +00:00
9 changed files with 88 additions and 81 deletions

42
flake.lock generated
View File

@@ -140,11 +140,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1765835352,
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
"lastModified": 1767609335,
"narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "a34fae9c08a15ad73f295041fec82323541400a9",
"rev": "250481aafeb741edfe23d29195671c19b36b6dca",
"type": "github"
},
"original": {
@@ -214,11 +214,11 @@
]
},
"locked": {
"lastModified": 1767556355,
"narHash": "sha256-RDTUBDQBi9D4eD9iJQWtUDN/13MDLX+KmE+TwwNUp2s=",
"lastModified": 1767688629,
"narHash": "sha256-kX1BVq5zoowePHssEjmpc6FNT3vVZNZaCXd7mfvCsxg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f894bc4ffde179d178d8deb374fcf9855d1a82b7",
"rev": "bfaba198af72338b8dbda59887859d7a30c6643c",
"type": "github"
},
"original": {
@@ -230,11 +230,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1767598544,
"narHash": "sha256-Qrc0nBJZyGbSg5+6qNZQGkwXFm3xakbHuntFCJoCneo=",
"lastModified": 1767687765,
"narHash": "sha256-dN+RfAzAKNeSnyTMLExVRHbgXnrJN/K6pLA8poLGGtg=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "b2e11514e5e99b39a5c7ba5737bbf3de380f7e45",
"rev": "d049b762cac2494c04a9c9a9187a7124910a08a7",
"type": "github"
},
"original": {
@@ -246,11 +246,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1767596870,
"narHash": "sha256-MLpPTq20Diun8l1RUc5aBMJ1H38EDRM8Srei4ysUOgI=",
"lastModified": 1767693706,
"narHash": "sha256-OvkkMiDL+JDS8S30F2sMMzmnNt3Yecmm/ujQKA7OKrg=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "53ca366b44fb48a06c5130d741a5420875395445",
"rev": "6822fa90ebf94995b75d53cb9fb249624ef812e6",
"type": "github"
},
"original": {
@@ -266,11 +266,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1767583128,
"narHash": "sha256-TO3P1CiH0TSjRD2hZLfXrbZCWMJ30Bxz5N2ZC7C+XHI=",
"lastModified": 1767669309,
"narHash": "sha256-D6SwnN3vN1iKkEuzmLX9kahY3MQ37IfPTwSsW+V3UiQ=",
"owner": "numtide",
"repo": "llm-agents.nix",
"rev": "19e6096ae0de49c4bcb26384dad80506d6ec9399",
"rev": "84dd55ed30c341f82819ba1b3e877f347a9bba85",
"type": "github"
},
"original": {
@@ -351,11 +351,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1767596757,
"narHash": "sha256-2AsNqqxZFomkakSJcvSgX8/e4zbiGLtnhgIC5u7mHt8=",
"lastModified": 1767693180,
"narHash": "sha256-eisPuzAxo+vccg8SkdXLcDWgczYjoEiAxFSZqPYU9QU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4978a37c9ff1809794c12f915afcb6d6313ed4e5",
"rev": "7cf1e75da2135a88a54f559fdc7f2b01b363d0df",
"type": "github"
},
"original": {
@@ -404,11 +404,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1767553127,
"narHash": "sha256-H6JzPMmvBYlGjIBgrHIS2dFXh05h4bwMJTZTn3IGVtc=",
"lastModified": 1767608728,
"narHash": "sha256-kmSJCTgrx+BxgqQOTPHAOkohvO+lbRsPWqu+PSPcz3I=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "3d7bcda3d163c1c38e231f81e0e90155b7b9e9bf",
"rev": "851399eebd0fb383d2fd76269d859f16021dc7a8",
"type": "github"
},
"original": {

View File

@@ -39,7 +39,6 @@
../../profiles/ripgrep.nix
../../profiles/ssh.nix
../../profiles/starship.nix
../../profiles/zellij.nix
../../profiles/zk.nix
../../profiles/zoxide.nix
../../profiles/zsh.nix

View File

@@ -38,7 +38,6 @@
../../profiles/ripgrep.nix
../../profiles/ssh.nix
../../profiles/starship.nix
../../profiles/zellij.nix
../../profiles/zk.nix
../../profiles/zoxide.nix
../../profiles/zsh.nix

10
hosts/tahani/cache.nix Normal file
View File

@@ -0,0 +1,10 @@
{...}: {
services.caddy.virtualHosts."cache.manticore-hippocampus.ts.net" = {
extraConfig = ''
tls {
get_certificate tailscale
}
reverse_proxy localhost:32843
'';
};
}

View File

@@ -6,6 +6,7 @@
}: {
imports = [
./adguardhome.nix
./cache.nix
./networking.nix
./paperless.nix
./secrets.nix
@@ -38,7 +39,6 @@
../../profiles/ripgrep.nix
../../profiles/ssh.nix
../../profiles/starship.nix
../../profiles/zellij.nix
../../profiles/zk.nix
../../profiles/zoxide.nix
../../profiles/zsh.nix

View File

@@ -14,5 +14,57 @@
shell-integration-features = no-cursor
clipboard-read = allow
clipboard-write = allow
keybind = ctrl+t>n=new_tab
keybind = ctrl+t>x=close_tab
keybind = ctrl+t>h=previous_tab
keybind = ctrl+t>left=previous_tab
keybind = ctrl+t>k=previous_tab
keybind = ctrl+t>up=previous_tab
keybind = ctrl+t>l=next_tab
keybind = ctrl+t>right=next_tab
keybind = ctrl+t>j=next_tab
keybind = ctrl+t>down=next_tab
keybind = ctrl+t>tab=last_tab
keybind = ctrl+t>one=goto_tab:1
keybind = ctrl+t>two=goto_tab:2
keybind = ctrl+t>three=goto_tab:3
keybind = ctrl+t>four=goto_tab:4
keybind = ctrl+t>five=goto_tab:5
keybind = ctrl+t>six=goto_tab:6
keybind = ctrl+t>seven=goto_tab:7
keybind = ctrl+t>eight=goto_tab:8
keybind = ctrl+t>nine=goto_tab:9
keybind = ctrl+p>n=new_split:auto
keybind = ctrl+p>d=new_split:down
keybind = ctrl+p>r=new_split:right
keybind = ctrl+p>x=close_surface
keybind = ctrl+p>f=toggle_split_zoom
keybind = ctrl+p>h=goto_split:left
keybind = ctrl+p>left=goto_split:left
keybind = ctrl+p>l=goto_split:right
keybind = ctrl+p>right=goto_split:right
keybind = ctrl+p>j=goto_split:down
keybind = ctrl+p>down=goto_split:down
keybind = ctrl+p>k=goto_split:up
keybind = ctrl+p>up=goto_split:up
keybind = ctrl+p>equal=equalize_splits
keybind = ctrl+n>h=resize_split:left,10
keybind = ctrl+n>left=resize_split:left,10
keybind = ctrl+n>j=resize_split:down,10
keybind = ctrl+n>down=resize_split:down,10
keybind = ctrl+n>k=resize_split:up,10
keybind = ctrl+n>up=resize_split:up,10
keybind = ctrl+n>l=resize_split:right,10
keybind = ctrl+n>right=resize_split:right,10
keybind = ctrl+n>equal=equalize_splits
keybind = alt+n=new_split:auto
keybind = alt+h=goto_split:left
keybind = alt+l=goto_split:right
keybind = alt+j=goto_split:down
keybind = alt+k=goto_split:up
'';
}

View File

@@ -1,8 +1,10 @@
{pkgs}:
pkgs.writeShellScriptBin "open-project" ''
TARGET=$(fd -t d --exact-depth 1 . $HOME/Projects |
TARGET=$(fd -t d --exact-depth 1 . $HOME/Projects |
sed "s~$HOME/Projects/~~" |
fzf --prompt "project > ")
zellij run -i -- /${pkgs.fish}/bin/fish -c "cd $HOME/Projects/$TARGET; fish"
if [ -n "$TARGET" ]; then
echo "$HOME/Projects/$TARGET"
fi
''

View File

@@ -56,9 +56,6 @@
home.file.".config/opencode/oh-my-opencode.json".text =
builtins.toJSON {
google_auth = false;
experimental = {
dcp_for_compaction = true;
};
agents = {
explore = {
model = "opencode/minimax-m2.1-free";

View File

@@ -1,52 +0,0 @@
{pkgs, ...}: {
programs.zellij = {
enable = true;
settings = {
theme = "catppuccin-latte";
default_layout = "default";
default_shell = "${pkgs.fish}/bin/fish";
pane_frames = false;
show_startup_tips = false;
show_release_notes = false;
};
};
xdg.configFile."zellij/layouts/default.kdl".text = ''
layout {
default_tab_template {
pane split_direction="vertical" {
pane
}
pane size=1 borderless=true {
plugin location="file:${pkgs.zjstatus}/bin/zjstatus.wasm" {
hide_frame_for_single_pane "true"
format_left "{mode}#[fg=#1e66f5,bg=#eff1f5,bold] {session}#[bg=#eff1f5] {tabs}"
format_right "{datetime}"
format_space "#[bg=#eff1f5]"
mode_normal "#[fg=#eff1f5,bg=#1e66f5] "
mode_locked "#[fg=#eff1f5,bg=#fe640b] L "
mode_tab "#[fg=#eff1f5,bg=#40a02b] T "
mode_pane "#[fg=#eff1f5,bg=#8839ef] P "
mode_session "#[fg=#eff1f5,bg=#04a5e5] S "
mode_resize "#[fg=#eff1f5,bg=#df8e1d] R "
mode_move "#[fg=#eff1f5,bg=#ea76cb] M "
mode_search "#[fg=#eff1f5,bg=#d20f39] S "
tab_normal "#[fg=#acb0be,bg=#eff1f5] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}"
tab_active "#[fg=#eff1f5,bg=#1e66f5,bold,underline] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}"
tab_fullscreen_indicator " "
tab_sync_indicator " "
tab_floating_indicator "󰉈 "
datetime "#[fg=#4c4f69,bg=#eff1f5] {format} "
datetime_format "%A, %d %b %Y %H:%M"
datetime_timezone "Europe/Berlin"
}
}
}
}
'';
}