this post was submitted on 26 Mar 2024
35 points (100.0% liked)
libre
9836 readers
2 users here now
Welcome to libre
A comm dedicated to the fight for free software with an anti-capitalist perspective.
The struggle for libre computing cannot be disentangled from other forms of socialist reform. One must be willing to reject proprietary software as fiercely as they would reject capitalism. Luckily, we are not alone.
Resources
- Free Software, Free Society provides an excellent primer in the origins and theory around free software and the GNU Project, the pioneers of the Free Software Movement.
- Switch to GNU/Linux! If you're still using Windows in
$CURRENT_YEAR
, flock to Linux Mint!; Apple Silicon users will want to check out Asahi Linux.
Rules
- Be on topic: Posts should be about free software and other hacktivst struggles. Topics about general tech news should be in the technology comm or programming comm. That doesn't mean all posts have to be serious though, memes are welcome!
- Avoid using misleading terms/speading misinformation: Here's a great article about what those words are. In short, try to avoid parroting common Techbro lingo and topics.
- Avoid being confrontational: People are in different stages of liberating their computing, focus on informing rather than accusing. Debatebro nonsense is not tolerated.
- All site-wide rules still apply
Artwork
- Xenia was meant to be an alternative to Tux and was created (licensed under CC0) by Alan Mackey in 1996.
- Comm icon (of Xenia the Linux mascot) was originally created by @ioletsgo
- Comm banner is a close up of "Dorlotons Degooglisons" by David Revoy (CC-BY 4.0) for Framasoft
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
ripgrep is an excellent grep replacement to check out. wild how much faster it runs. +1 on the eza (other poster said exa but that's abandonware forked to eza)
check out deploy-rs and ragenix once you've replaced your current media server with a NixOS one. They make it much easier to apply configuration changes and to handle secrets if you need em for configs. +1 on start using flakes ASAP if you're not already (pretty sure both these tools only work with flakes), Xe Iaso's got a bunch of good blog posts about em if those are your jam.
this is how I got NixOS to click for me, 10/10 highly recommend. even if it doesn't stick this time keep your config in source control somewhere so you can revisit it.
gonna strongly disagree with one of the other posters in here that you should use POSIX-compliant shells because they're more portable, for a few reasons:
I wrote a little bit more about how modern structured data shells have been a more ergonomic option for like two decades now in a dunk tank post a few weeks back so I'll just link that instead of elaborating.
even if you find you prefer flat text pipelines, zsh and fish are fine (and were preferable for me for interactive use before I started using pwsh and then elvish) and you'll still wind up writing bash scripts anyway. or at least when I used those shells I don't think I once wrote a script that targeted them instead of bash. also
#! /usr/bin/env sh
is fine, you should hopefully be well aware when you write scripts that have a chance of running on a system that has a weird shell symlinked tosh
.Thanks for the flake tutorial. I've implemented one already, but was a little confused about it. I plan to come back to it eventually.
I was planning to stick to bash, but since with nix you can switch between a few different shells trivially, I might as well look into the alternativces more closely.