publicvoit,
@publicvoit@graz.social avatar

#NixOS update after sleeping for one month on host floyd (lenovo x260) takes 1 hour and 15 minutes (despite new 2TB SSD). During that, the device is almost non-responsive for anything else.

Host jackson (with even a slightly larger setup) probably would need 5-10 minutes maximum (lenovo t490). (I do weekly updates there.)

Didn't had that update "performance" while using Xubuntu LTS before. 🤔

https://github.com/novoid/nixos-config

#flakes #HomeManager

nebucatnetzer,
@nebucatnetzer@emacs.ch avatar

@publicvoit This option makes the system much more usable when building.
Highly recommended on a desktop system.

https://git.2li.ch/Nebucatnetzer/nixos/src/commit/9f428ac27185c624141ae7dee52f3d2856802f13/modules/misc/common/default.nix#L117

publicvoit,
@publicvoit@graz.social avatar

@nebucatnetzer Will give it a try. Thanks!

stefan,
@stefan@social.lol avatar

@publicvoit i installed nix-output-manager which really helped with this, cause I was able to see which packages were taking a long time to build. in my case they were ones I was pulling from unstable or from github flakes - switching to stable packages from nixpkgs sped things up loads. ymmv, but it might be worth a shot - https://github.com/maralorn/nix-output-monitor

publicvoit,
@publicvoit@graz.social avatar

@stefan I'm using https://github.com/viperML/nh which is using that tool as well. Unfortunately, its screen output colors are broken and therefore, I actually can't identify the important yellow lines at all. 🤷

However, I had to wait maybe half an hour before that part of the upgrade even started.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • NixOS
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines