I was really impressed when I got a new MacBook this year. With my previous Windows machines it was always one or two days of reinstalling everything and then a few more weeks until I had all my settings back. With the Mac I restored from Time Machine and after a few hours I had my machine back pretty much the way it was before with just a few settings missing. That alone is worth a certain premium to me.
I don't mind premium and what you(me too) observe with windows is a bad architectural decisions of Microsoft allowing every app to pollute it's shit all over the places - registry, system dirs, user/* and tons of other obscure places where app could spread leftovers all over. This makes it nightmare to manage anything. Mac ecosystem is cleaner and more tighly controlled. With Windows - it's a business opportunity for…
Ask HN: Configuration Management for Personal Computer?
131–140 of 144 posts
Re: Ask HN: Configuration Management for Personal Computer?
#132NixOS can be helpful here, by making all of the non-user-specific stuff completely reproducible; combine that with Git versioning for dotfiles and a NAS for backups and large storage and your setup should be pretty easy to manage.
NixOS is great. I use it as my daily driver. But. In my experience, your distro will never have all the software you would like in its repos. And I've found this is true of NixOS also. So it should be mentioned that some software does not play nicely with it [0][1]. Because some things will be missing from distro repos, packaging is, to me, quite a valuable skill. Compare, for example, the packages for autorandr for…
I would not recommend NixOS to everyone, but I definitely would recommend it to the type of person who wants to automate their system.
Re: Ask HN: Configuration Management for Personal Computer?
#133Re: Ask HN: Configuration Management for Personal Computer?
#134Earlier quoted context omitted.
I don't mind premium and what you(me too) observe with windows is a bad architectural decisions of Microsoft allowing every app to pollute it's shit all over the places - registry, system dirs, user/* and tons of other obscure places where app could spread leftovers all over. This makes it nightmare to manage anything. Mac ecosystem is cleaner and more tighly controlled. With Windows - it's a business opportunity for…
Yeah... Mac is so clean that's why everything regarding transferring devices is such a PITA. It takes hours to figure out the arcane undocumented ways to fix whatever's broken on a Mac because they internationally hide or break their own devices. Seriously you can't even replace hard drives anymore on a Mac. Here's a fun one, try transferring family sharing to a new owner because say the previous owner died without l…
Re: Ask HN: Configuration Management for Personal Computer?
#135Earlier quoted context omitted.
I prefer https://scoop.sh for windows - although I've yet to try it for service/server installs. But for personal tools, it feels a lot like using apt - but geared towards installation in the home dir (like xstow). As far as I can tell scoop does support installs for multiple users/services too, though.
To be clear regarding multiple computers and servers so doesn't chocolatey, which is the the actual name of the app the parent post is using choco is the call to the package manager. I'm a little worried about bypassing UAC on Windows with Scoop but it's always good to have options.
I suppose it's entirely possible to change this via draconian policies (to have the equivalent of mounting home noexec) - and conversely, for global installs - you need to abide by UAC in the form of "sudo":
Re: Ask HN: Configuration Management for Personal Computer?
#136If on *nix, gnu stow + git is the holy grail (imo). https://www.gnu.org/software/stow/ http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to...
It's worked really well for me. Used to use stow.
Re: Ask HN: Configuration Management for Personal Computer?
#137Earlier quoted context omitted.
Wow, thanks for the detailed response. Yes it sounds like they've taken great care for reproducibility, which I greatly appreciate. Sounds very similar to Docker's philosophy, where changes to the system produce incremental changes to the system image and all dependencies are strictly controlled. What else do I need to be convinced to leave my Ubuntu system for NixOS?
Docker tries to solve these problems only on the surface. Nothing in a Dockerfile guarantees reproducability. Try docker build of you favorite Dockerfile today and next week. The images probably won't be the same. Whereas NixOS allows you to build the exact same system now and whenever you want. Although, you'd have to pin the nixpkgs you are using.
Re: Ask HN: Configuration Management for Personal Computer?
#138Earlier quoted context omitted.
Consider reading the NixOS documentation if you would like to learn more, because it’s worth it imo, but no, Debian is a different case. NixOS doesn’t just manage packages, it manages the entire system holistically. You effectively have a single configuration file (or multiple) that configure every package, service, mount, ramdisk, driver, etc. If I delete everything but my home folder, my configuration file can be u…
Wow, thanks for the detailed response. Yes it sounds like they've taken great care for reproducibility, which I greatly appreciate. Sounds very similar to Docker's philosophy, where changes to the system produce incremental changes to the system image and all dependencies are strictly controlled. What else do I need to be convinced to leave my Ubuntu system for NixOS?
Re: Ask HN: Configuration Management for Personal Computer?
#139Re: Ask HN: Configuration Management for Personal Computer?
#140What it does:
1. moves your dot files and whatnot into DropBox (or Box or Google drive or whatever)
2. symlinks the moved file to the original location