Avatar

bzLem0n

bzLem0n@lemmy.ca
Joined
0 posts • 17 comments
Direct message

NixOS on everything but my Steam Deck which is running SteamOS.

permalink
report
reply

I really enjoy using NixOS as it is good at what it does, declarative system configuration, but it does have issues that can prevent people from using it. It’s great if you want to put the configuration for all your computers in one git repo but that configuration is in the Nix language so you will eventually need to become familiar with the Nix language. The main issues are that the documentation needs work and understanding the difference between the Nix operating system, the Nix language, and the Nix package collection as the more you use NixOS the more familiar you will need to be with each.

That said, I find it worth learning and recommend some of the following resources for NixOS.

MyNixOS for graphical configuration management. See my configs there.

NixOS Wiki for the best collection of NixOS documentation. I’ve found this collection of people’s configurations to be very useful for inspiration.

The manual pages for the Nix language, Nix packages, and NixOS.

permalink
report
parent
reply

If you don’t want to self host then I suggest Bitwarden as the only service I would recommend. If you want/are willing to self host Bitwarden. Just stay away from Lastpass.

permalink
report
reply

Nix, it’s one of the few featuring reproducible builds.

permalink
report
reply

You should put the aliases in /etc/profile or create a file in /etc/profile.d/ for them. Most modern shells will source /etc/profile which in turn sources the files in /etc/profile.d/, so that’s the best spot for things like aliases for all users. See the Arch Wiki page Command-line shell, specifically sections 4 and 5.

permalink
report
reply

Did you make sure it is a bash script, starting with a shebang, and is executable.

permalink
report
parent
reply

This IS the answer, everyone else is justifying it after the fact or just making shit up.

permalink
report
parent
reply

I did not know I needed to see that before today.

permalink
report
parent
reply

It’s even easier to prevent confusion if you use /dev/disk/by-id/ id’s, it only took a few times of overwriting the wrong disk to figure that out.

permalink
report
parent
reply