me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

update bambu studio

author
Sean Aye
date (Mar 22, 2026, 8:03 PM -0400) commit 0aff50be parent 66495185 change-id osptmopu
+53 -3
-2
hosts/common/home.nix
··· 68 68 fastfetch 69 69 inputs.agenix.packages.${pkgs.system}.default # agenix CLI 70 70 age-plugin-yubikey # Yubikey support for agenix 71 - bambu-studio 72 - 73 71 # --- FONTS ARE IMPORTANT --- 74 72 # Berkeley Mono is the main system font, keeping JetBrains and Font Awesome for icons 75 73 font-awesome
+52
hosts/mira/configuration.nix
··· 11 11 stripRoot = false; 12 12 hash = "sha256-xtlG3UQ/WClt/Hvxe+oId2CeJ+PWMDXBUJXh5+k+mZQ="; 13 13 }; 14 + 15 + bambu-studio = 16 + let 17 + pname = "bambu-studio"; 18 + version = "02.04.00.70"; 19 + ubuntu_version = "24.04_PR-8834"; 20 + 21 + src = pkgs.fetchurl { 22 + url = "https://github.com/bambulab/BambuStudio/releases/download/v${version}/Bambu_Studio_ubuntu-${ubuntu_version}.AppImage"; 23 + sha256 = "sha256:26bc07dccb04df2e462b1e03a3766509201c46e27312a15844f6f5d7fdf1debd"; 24 + }; 25 + 26 + appimage-contents = pkgs.appimageTools.extractType2 { 27 + inherit src pname version; 28 + }; 29 + 30 + wrapped = pkgs.appimageTools.wrapType2 { 31 + inherit src pname version; 32 + 33 + profile = '' 34 + export SSL_CERT_FILE="${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" 35 + export GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules/" 36 + ''; 37 + 38 + extraPkgs = 39 + p: with p; [ 40 + cacert 41 + glib 42 + glib-networking 43 + gst_all_1.gst-plugins-bad 44 + gst_all_1.gst-plugins-base 45 + gst_all_1.gst-plugins-good 46 + webkitgtk_4_1 47 + ]; 48 + }; 49 + in 50 + pkgs.runCommand "bambu-studio-${version}" { } '' 51 + mkdir -p $out/bin 52 + ln -s ${wrapped}/bin/${pname} $out/bin/bambu-studio 53 + ln -s ${wrapped}/bin/${pname} $out/bin/BambuStudio 54 + 55 + # Install desktop file with correct exec path 56 + mkdir -p $out/share/applications 57 + substitute ${appimage-contents}/BambuStudio.desktop $out/share/applications/BambuStudio.desktop \ 58 + --replace-fail "Exec=AppRun" "Exec=$out/bin/BambuStudio" 59 + 60 + # Install icons 61 + if [ -d ${appimage-contents}/usr/share/icons ]; then 62 + cp -r ${appimage-contents}/usr/share/icons $out/share/ 63 + fi 64 + ''; 14 65 in 15 66 { 16 67 imports = [ ··· 426 477 427 478 environment.systemPackages = [ 428 479 pkgs.lm_sensors 480 + bambu-studio 429 481 ]; 430 482 431 483 # Enable the OpenSSH daemon.
+1 -1
hosts/mira/hardware-configuration.nix
··· 75 75 services.xserver.videoDrivers = [ "nvidia" ]; 76 76 hardware.nvidia = { 77 77 modesetting.enable = true; 78 - powerManagement.enable = false; 78 + powerManagement.enable = true; 79 79 open = true; # recommended for Turing+ 80 80 nvidiaSettings = true; 81 81 package = config.boot.kernelPackages.nvidiaPackages.stable;