From e6677801aae3f029ea9d844b052ef5beeec8553f Mon Sep 17 00:00:00 2001 From: rocketcamel Date: Fri, 8 Aug 2025 19:17:12 -0700 Subject: [PATCH] fix: add bun bin to PATH --- nix/flake.lock | 30 ++++++++++---------- nix/flake.nix | 63 +++++++++++++++++++++--------------------- nix/users/luca/zsh.nix | 1 + 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/nix/flake.lock b/nix/flake.lock index 725e7be..5efd217 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -83,11 +83,11 @@ ] }, "locked": { - "lastModified": 1753288231, - "narHash": "sha256-WcMW9yUDfER8kz4NdCaaI/ep0Ef91L+Nf7MetNzHZc4=", + "lastModified": 1753592768, + "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=", "owner": "nix-community", "repo": "home-manager", - "rev": "7b5a978e00273b8676c530c03d315f5b75fae564", + "rev": "fc3add429f21450359369af74c2375cb34a2d204", "type": "github" }, "original": { @@ -123,11 +123,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1752682362, - "narHash": "sha256-ZNIpqCG/CfhmV+TgIeyO/XbhDjSWpwWokHM44j0Mn0w=", + "lastModified": 1754326498, + "narHash": "sha256-3ynDaygIzQYlBZFHGDeQzXmPkX2ILeZ0wWJ84FR4g7E=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "20001f9bf0aaf2b1c307e43a5eec8cf8f800fe14", + "rev": "ca55236cd9ef3cdea29b51a0b52a9402c60e9a27", "type": "github" }, "original": { @@ -139,11 +139,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1751792365, - "narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", + "lastModified": 1754214453, + "narHash": "sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", + "rev": "5b09dc45f24cf32316283e62aec81ffee3c3e376", "type": "github" }, "original": { @@ -155,11 +155,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1753345091, - "narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=", + "lastModified": 1754563854, + "narHash": "sha256-YzNTExe3kMY9lYs23mZR7jsVHe5TWnpwNrsPOpFs/b8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9", + "rev": "e728d7ae4bb6394bbd19eec52b7358526a44c414", "type": "github" }, "original": { @@ -229,11 +229,11 @@ ] }, "locked": { - "lastModified": 1752544651, - "narHash": "sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U=", + "lastModified": 1754328224, + "narHash": "sha256-glPK8DF329/dXtosV7YSzRlF4n35WDjaVwdOMEoEXHA=", "owner": "Mic92", "repo": "sops-nix", - "rev": "2c8def626f54708a9c38a5861866660395bb3461", + "rev": "49021900e69812ba7ddb9e40f9170218a7eca9f4", "type": "github" }, "original": { diff --git a/nix/flake.nix b/nix/flake.nix index 00c5691..5618c4a 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -74,38 +74,37 @@ }; }; system = host.architecture; - modules = - [ - ./hosts/${host.name}/configuration.nix - ./modules/default.nix - inputs.sops-nix.nixosModules.sops - home-manager.nixosModules.home-manager - { - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; - environment.systemPackages = [ - inputs.pesde.packages.${host.architecture}.default - inputs.mantle.packages.${host.architecture}.default - inputs.rokit.packages.${host.architecture}.default - inputs.status-bar.packages.${host.architecture}.status-bar - ]; - fonts.packages = [ - inputs.custom-fonts.packages.${host.architecture}.default - ]; - nixpkgs.config.allowUnfree = true; - } - ] - ++ ( - if builtins.hasAttr "isWSL" host then - [ - nixos-wsl.nixosModules.default - ./hosts/wsl/configuration.nix - ] - else - [ ] - ); + modules = [ + ./hosts/${host.name}/configuration.nix + ./modules/default.nix + inputs.sops-nix.nixosModules.sops + home-manager.nixosModules.home-manager + { + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + environment.systemPackages = [ + inputs.pesde.packages.${host.architecture}.default + inputs.mantle.packages.${host.architecture}.default + inputs.rokit.packages.${host.architecture}.default + inputs.status-bar.packages.${host.architecture}.status-bar + ]; + fonts.packages = [ + inputs.custom-fonts.packages.${host.architecture}.default + ]; + nixpkgs.config.allowUnfree = true; + } + ] + ++ ( + if builtins.hasAttr "isWSL" host then + [ + nixos-wsl.nixosModules.default + ./hosts/wsl/configuration.nix + ] + else + [ ] + ); }; }) hosts ); diff --git a/nix/users/luca/zsh.nix b/nix/users/luca/zsh.nix index 320592f..a0a9dce 100644 --- a/nix/users/luca/zsh.nix +++ b/nix/users/luca/zsh.nix @@ -22,6 +22,7 @@ in export GOPATH="$HOME/go" export GOBIN="$HOME/go/bin" export PATH="$GOBIN:$PATH" + export PATH="$HOME/.cache/.bun/bin:$PATH" alias cat="bat" '' + "\n"