From 8bd245d495ae62fd6bcdbd51c5261314c4852551 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sat, 16 Aug 2025 18:28:40 +0000 Subject: [PATCH] up Signed-off-by: Christoph Schmatzler --- flake.lock | 18 +++++++++--------- modules/home/default.nix | 9 +++++---- modules/home/ripgrep.nix | 21 +++++++++++++++++++++ modules/packages.nix | 4 ---- 4 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 modules/home/ripgrep.nix diff --git a/flake.lock b/flake.lock index 85365c1..4b3b8b1 100644 --- a/flake.lock +++ b/flake.lock @@ -132,11 +132,11 @@ "homebrew-cask": { "flake": false, "locked": { - "lastModified": 1755343188, - "narHash": "sha256-CF0u/F0NzJtnQjYdJPt1JcXDdze4CL3R7s23CUjq/jg=", + "lastModified": 1755363579, + "narHash": "sha256-EbaVz2Ky94YR/tV74wSqpzE6A9F38x7nzvMSEBWBMI4=", "owner": "homebrew", "repo": "homebrew-cask", - "rev": "9862cf5e80f63df883cebce3b8e23008dc1345c9", + "rev": "d2d4d62c4b32b98c0d13b02c265294e3a6039999", "type": "github" }, "original": { @@ -148,11 +148,11 @@ "homebrew-core": { "flake": false, "locked": { - "lastModified": 1755345283, - "narHash": "sha256-gnhhnOVdoT0JwBQiecvNb69WiG9maj4DCPIeZL/1bvA=", + "lastModified": 1755366498, + "narHash": "sha256-uycxkawaZZNbCwsV8/8RT8psKwPs2OTIVoB641bEnp4=", "owner": "homebrew", "repo": "homebrew-core", - "rev": "c98187537806a121bc373241d6f25d1150e9742c", + "rev": "d54e22d2d830e5eabc683df017bca7292759e1fe", "type": "github" }, "original": { @@ -240,11 +240,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1755346686, - "narHash": "sha256-Vok1zy+LkZM8J/ki74SXMIyN0aFanBnjYSUqn0bN92Y=", + "lastModified": 1755367460, + "narHash": "sha256-mPqAxaRmojCHOd8qpLUOxk7BfTRsNCAXHfnsCmploFs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5df4afd7ef7c3d75be5b4c4f80b6b617aa5f7b2a", + "rev": "a05a770b952a7042dd1741830fc5c2fe5cf34cd7", "type": "github" }, "original": { diff --git a/modules/home/default.nix b/modules/home/default.nix index 609642c..5f1a9dd 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -4,19 +4,20 @@ ... }: { imports = [ - ./fish.nix - ./starship.nix - ./zsh.nix ./atuin.nix ./bat.nix ./eza.nix + ./fish.nix ./git.nix ./lazygit.nix ./mise.nix + ./neovim + ./ripgrep.nix ./ssh.nix + ./starship.nix ./zellij.nix ./zoxide.nix - ./neovim + ./zsh.nix ]; programs.home-manager.enable = true; diff --git a/modules/home/ripgrep.nix b/modules/home/ripgrep.nix new file mode 100644 index 0000000..ddf30ff --- /dev/null +++ b/modules/home/ripgrep.nix @@ -0,0 +1,21 @@ +{ + programs.ripgrep = { + enable = true; + arguments = [ + "--max-columns=150" + "--max-columns-preview" + "--smart-case" + "--colors=column:none" + "--colors=column:fg:4" + "--colors=column:style:underline" + "--colors=line:none" + "--colors=line:fg:4" + "--colors=match:none" + "--colors=match:bg:0" + "--colors=match:fg:6" + "--colors=path:none" + "--colors=path:fg:14" + "--colors=path:style:bold" + ]; + }; +} diff --git a/modules/packages.nix b/modules/packages.nix index 4569c1e..1bb8ece 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -13,21 +13,17 @@ with pkgs; [ iosevka jq killall - libfido2 - nodejs_24 nurl opencode openssh postgresql_17 prettier python312 - ripgrep sops sqlite tree tree-sitter unzip vivid - wget zip ]