fix: add bun bin to PATH

This commit is contained in:
2025-08-08 19:17:12 -07:00
parent 7239707e93
commit e6677801aa
3 changed files with 47 additions and 47 deletions

30
nix/flake.lock generated
View File

@@ -83,11 +83,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1753288231, "lastModified": 1753592768,
"narHash": "sha256-WcMW9yUDfER8kz4NdCaaI/ep0Ef91L+Nf7MetNzHZc4=", "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7b5a978e00273b8676c530c03d315f5b75fae564", "rev": "fc3add429f21450359369af74c2375cb34a2d204",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -123,11 +123,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1752682362, "lastModified": 1754326498,
"narHash": "sha256-ZNIpqCG/CfhmV+TgIeyO/XbhDjSWpwWokHM44j0Mn0w=", "narHash": "sha256-3ynDaygIzQYlBZFHGDeQzXmPkX2ILeZ0wWJ84FR4g7E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "20001f9bf0aaf2b1c307e43a5eec8cf8f800fe14", "rev": "ca55236cd9ef3cdea29b51a0b52a9402c60e9a27",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -139,11 +139,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1751792365, "lastModified": 1754214453,
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", "narHash": "sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", "rev": "5b09dc45f24cf32316283e62aec81ffee3c3e376",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -155,11 +155,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1753345091, "lastModified": 1754563854,
"narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=", "narHash": "sha256-YzNTExe3kMY9lYs23mZR7jsVHe5TWnpwNrsPOpFs/b8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9", "rev": "e728d7ae4bb6394bbd19eec52b7358526a44c414",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -229,11 +229,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752544651, "lastModified": 1754328224,
"narHash": "sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U=", "narHash": "sha256-glPK8DF329/dXtosV7YSzRlF4n35WDjaVwdOMEoEXHA=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "2c8def626f54708a9c38a5861866660395bb3461", "rev": "49021900e69812ba7ddb9e40f9170218a7eca9f4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -74,38 +74,37 @@
}; };
}; };
system = host.architecture; system = host.architecture;
modules = modules = [
[ ./hosts/${host.name}/configuration.nix
./hosts/${host.name}/configuration.nix ./modules/default.nix
./modules/default.nix inputs.sops-nix.nixosModules.sops
inputs.sops-nix.nixosModules.sops home-manager.nixosModules.home-manager
home-manager.nixosModules.home-manager {
{ nix.settings.experimental-features = [
nix.settings.experimental-features = [ "nix-command"
"nix-command" "flakes"
"flakes" ];
]; environment.systemPackages = [
environment.systemPackages = [ inputs.pesde.packages.${host.architecture}.default
inputs.pesde.packages.${host.architecture}.default inputs.mantle.packages.${host.architecture}.default
inputs.mantle.packages.${host.architecture}.default inputs.rokit.packages.${host.architecture}.default
inputs.rokit.packages.${host.architecture}.default inputs.status-bar.packages.${host.architecture}.status-bar
inputs.status-bar.packages.${host.architecture}.status-bar ];
]; fonts.packages = [
fonts.packages = [ inputs.custom-fonts.packages.${host.architecture}.default
inputs.custom-fonts.packages.${host.architecture}.default ];
]; nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfree = true; }
} ]
] ++ (
++ ( if builtins.hasAttr "isWSL" host then
if builtins.hasAttr "isWSL" host then [
[ nixos-wsl.nixosModules.default
nixos-wsl.nixosModules.default ./hosts/wsl/configuration.nix
./hosts/wsl/configuration.nix ]
] else
else [ ]
[ ] );
);
}; };
}) hosts }) hosts
); );

View File

@@ -22,6 +22,7 @@ in
export GOPATH="$HOME/go" export GOPATH="$HOME/go"
export GOBIN="$HOME/go/bin" export GOBIN="$HOME/go/bin"
export PATH="$GOBIN:$PATH" export PATH="$GOBIN:$PATH"
export PATH="$HOME/.cache/.bun/bin:$PATH"
alias cat="bat" alias cat="bat"
'' ''
+ "\n" + "\n"