• 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle
  • Did you run garbage collection?

    Just in case you (understandably) missed this concept “deleting” a generation does not remove package files from the nix store, they are just no longer referenced by the environment of your new configuration. Garbage collection (GC) can be run manually or set to run periodically to actually remove unreferenced files from the nix store. This is pretty nice when iterating on some package as you can make a change, rebuild, then if you change your mind instantly go back to some prior version without rebuilding or redownloading dependencies, and just let GC clean up for you later.

    If you’re on a system where you’re really worried about disk space down to the relatively small size that extra package versions might use maybe nixos isn’t the best choice. One could setup and build the configuration for a disk space constrained system on another larger system, though the nix learning curve is steep enough without navigating the multiple ways to do that while learning.

    OTOH, it might be that some other package in your config, possibly nix itself, depends on git (to get the packages) and that’s what you’re seeing in the store. This version should not interfere with anything in your user environment, e.g. if you want to install some alternative version of git or something (I don’t know why you want to remove git).






  • It seems that in the US definitions of words related to moving past (or even mitigating the harms of) capitalism all get mixed together. Some of this is just how language evolves over time, but it’s also a result of this being a topic subject to quite a bit of propaganda. On the right they will call any regulation they disagree with communism, and on the left you mention Bernie’s “democratic socialism” vs “socialized capitalism”. At this point if one is interested in slowing profit driven harm to people and the environment (where the clock is ticking) it may be best to destigmatize words like marxism, communism, and socialism as you will be called all of them anyway.

    I’m not a fan of the more authoritarian aspects of the USSR or China, but I question the claim that it was obviously an inefficient economic system. Pre-communist China and USSR were both rather poor, nearly pre-industrial nations before their revolutions and both grew to become superpowers in a very short amount of time. All while being actively opposed by the west and in Russia’s case after losing a huge chunk of their population in WW2.

    I’m also not convinced that the promise of “getting rich” motivates much innovation. Or if it does I suspect it’s less the wealth and more the escape from the anxiety that comes from wondering how your family will live under capitalism. Plenty of people contribute to open source software or choose careers in science and technology research with longer hours and a fraction of the pay as using the same skill set to design algorithms that get kids to look at more ads. Where markets might be more “efficient” is in incentivizing necessary, but unpopular jobs like cleaning a sewer; markets accomplish this via the threat of eviction, prison, and starvation if you were born in the wrong group.

    There must be a better way. I don’t care what it’s called, I just hope we can sort it out before climate change makes life much worse.