Add overlay for bun JS runtime version 1.0.1, install bun to user profile
This commit is contained in:
		| @ -64,6 +64,7 @@ | ||||
|                     ./nix/system/nix-conf.nix | ||||
|                     ./nix/system/network.nix | ||||
|                     ./nix/system/openvpn.nix | ||||
|                     ./nix/system/overlays.nix | ||||
|                     ./nix/system/security.nix | ||||
|                     ./nix/system/system.nix | ||||
|                     ./nix/system/virtualisation.nix | ||||
|  | ||||
							
								
								
									
										15
									
								
								nix/system/overlays.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								nix/system/overlays.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| { config, lib, pkgs, ... }: | ||||
| { | ||||
|   nixpkgs.overlays = [ | ||||
|     (final: prev: { | ||||
|       bun = prev.bun.overrideAttrs (old: rec { | ||||
|         name = "bun-${version}"; | ||||
|         version = "1.0.1"; | ||||
|         src = pkgs.fetchurl { | ||||
|           url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; | ||||
|           sha256 = "sha256-RmgnWTG6kTebYwIa/VAwvvJmbL+ARNC+HkbF4mJPF7o="; | ||||
|         }; | ||||
|       }); | ||||
|     }) | ||||
|   ]; | ||||
| } | ||||
| @ -7,7 +7,7 @@ | ||||
|       isNormalUser = true; | ||||
|       passwordFile = config.age.secrets.sezycei.path; | ||||
|       extraGroups = [ "wheel" "nginx" ]; | ||||
|       packages = with pkgs; [ byobu tmux stack ]; | ||||
|       packages = with pkgs; [ bun byobu tmux stack ]; | ||||
|     }; | ||||
|  | ||||
|     cridycei = { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user