Comment on
Why does this community, which is privacy oriented, use Discord rather than Matrix?
Reply in thread
Discord isn't encrypted at all
Comment on
Why does this community, which is privacy oriented, use Discord rather than Matrix?
Reply in thread
Discord isn't encrypted at all
Comment on
As if we need another reason to switch to GNU/Linux
Reply in thread
because killing birds isn't a task of the kernel, it's the task of a userspace utility part of the coreutils
Comment on
NixOs why?
You know why reinstalling Linux is annoying? Because you have to remember (or write down) every piece of config you ever changed. Dark mode in KDE? Change it in settings. Some systemd unit tweak? Change it in /etc/systemd. Want to run some commands at boot? Use systemd (see above), or write an initrd hook (distro-specific). Need a specific version of an app? Need some files in /opt? Need certain packages installed? You better remember to do that!
In NixOS, you "reinstall" your OS every time you change a single setting, because reinstalling NixOS isn't scary at all - everything that needs to be changed is configured in your configuration - just make sure /home and /var/lib are saved (and perhaps some other dirs, I have root on tmpfs and bind mount all persistent files I need to ensure I know what needs to be preserved on clean reinstall and what doesn't).
Want to move it to a different PC? No problem, copy the files in /home and /var/lib and simply install NixOS using the configuration you already have on the new PC. Want to create a boot option with slightly different kernel or kernel options, or maybe even another DE? No problem, specializations got you covered.
And of course, this also means it's easy to share configurations for specific use cases. Want to run on some specific hardware that doesn't work out of the box? Perhaps nixos-hardware got you covered. Want a certain program set up? Maybe there's already a NixOS option for system-level config or a home-manager option for user-level config, worst case you can write it yourself and share for everyone else in the community using flakes, and maybe open a PR to nixpkgs/home-manager. Want to share configuration between systems? That's easy, put them in the same flake and write a common module shared between all of your systems.
Basically, if you're fine with whatever comes out of the box in any Linux distro, you don't need NixOS, but if you need configuration, if you run servers, it is a lifesaver. I switched from Arch, no regrets. I run my personal laptop, my server, which I effortlessly migrated from Oracle Cloud when they quit Russia, and my router on it, here's my NixOS/home-manager config.
The only downsides are the learning curve and the fact that you can't "just" run programs that expect a FHS layout. You can do it with workarounds like steam-run or appimage-run anyway, but overall be prepared to learn to package stuff for NixOS. Also if you have no experience with functional programming, the Nix language may be hard to understand at first.
Comment on
[Question] Which shell prompt do you use and why?
I use fish + tide
I tried zsh+p10k before fish+tide, but zsh felt annoying in subtle ways that weren't fixable with (existing) plugins, so I switched back to fish, but installed tide to mimic my previous p10k theme.
Comment on
"We don't want to live in a world where the Chinese are the dominant country," says US Ambassador to China Nicholas Burns
Reply in thread
least genocidal liberal
Comment on
What's the point of terminal file managers (mc, ranger, nnn, etc)?
for example, when you need to copy some files and not the other, you can take your time selecting the specific files you need to copy instead of writing the list of files in one command. When you want to check the contents of a lot of files, you can just open file preview. Etc, basically sometimes CLI isn't as convenient as TUI/GUI
Comment on
NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness
Reply in thread
strictly speaking, NixOS doesn't have repositories.
NixOS has "derivations" (rules are written in the Nix language to generate a script that builds a package, which is called a derivation - yes, everything is built from source to the extent possible/reasonable) and "platforms" (the system that builds the derivation OR the system the derivation is built for). A "platform" is e.g. the CPU architecture, the libc used, the target kernel (there's most support for Linux and Darwin, which is the macOS kernel, but e.g. FreeBSD is supported to some extent too). The derivation code may well be shared across platforms, though often platform-specific workarounds are required.
Of course, different platforms have different support. Some platforms have derivations from nixpkgs (the NixOS git repo) regularly built for them and put into the official binary cache (which stores the derivation outputs, i.e. ready-built packages for a certain set of inputs, which generally match what you would've built from source because Nix strives for reproducibility, you're still free to override a package's inputs and build it from source). linux-aarch64 is one of such platforms. Other platforms may only have a small set of core packages like gcc built for them, or simply require building absolutely everything from source.
The reason nixpkgs is not a repository (though I guess you could call it one) is because it only provides rules to build a package, but not the package itself. Some derivations (e.g. for Gog games) even require you to add some non-redistributable files to the Nix store manually. The derivations may or may not build correctly for each platform they're supposed to work on.
The reason the binary cache is not a repository is because it's just a cache for nixpkgs - it stores every derivation's output (if the build doesn't fail), even if that derivation is one that downloads a package's source code (yes, that's a derivation too), even if the derivation is from many years ago (which has historical value, as you can revert nixpkgs to an old version and still be able to download prebuilt versions of packages).
Together, they form something like a repository, but it's still way too different. For example, unlike on Arch, I can stay on the same nixpkgs version for a long time without updating, which I really prefer because I have to build 3 kernels on each update, since I'm syncing the nixpkgs version of my 4 NixOS devices, only 1 of which doesn't require a custom kernel config. Or I can always revert back to an older version of nixpkgs if a new one breaks something and it will still work. Or I can fork nixpkgs and change some stuff, and the stuff with changed inputs will have to be rebuilt locally, with stuff that didn't change still available from the binary cache.
Comment on
The worst day in history...
Reply in thread
it's actually a reference to "video games cause violence"
Comment on
*Permanently Deleted*
it isn't loading a script from googlevideo, it's downloading media from googlevideo. Noscript isn't only for blocking JS.
Comment on
*Permanently Deleted*
Reply in thread
actually many "Unix people" got mad at cat becoming "bloated", because of options like -v (which escapes nonprinting characters)
Comment on
What’s Up With Germany’s Pro-Israel ‘Left’? | Novara Media
Reply in thread
"80% of the world is against Israel, which is backed by my country, but among them there are countries that are bad and oppose my country for some reason, so I'll support what my country is backing instead"
Israel is much more successful in massacring people than any of the countries you could think of. And please, don't talk shit about other countries when you aren't ready to fight against your country's ruling class. That never ended well. This is literally the reason some Russian "communists" support the war.
Comment on
Is Brave Browser currently as privacy disrespecting as some say?
Reply in thread
Just use something vanilla like Ungoogled Chromium. Don't use it for everything, only for working on projects that require it.
Comment on
Figuring things out
Reply in thread
they are, the titles just got changed
Comment on
Police called to investigate alleged LGBTQ+ propaganda at Russian 'My Little Pony' convention
Reply in thread
the organizers recolored Rainbow Dash's hair to the colors of the Russian flag but it didn't help
Comment on
[Meta] Now that the description of this community has been updated from "ricers" to "themers", should someone point that out to [email protected]?
Reply in thread
Race is a social concept. Race is a thing which exists. Gender is a social concept. Gender is a thing which exists. Race is based on ethnicity, but can't be explained by it alone, gender is based on sex, but can't be explained by it alone.
Comment on
What field do you work in, and how many digits of pi do you use?
I'm a programmer and I remember 33 digits, but in practice I never use pi because I never have to deal with geometry
Comment on
NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness
Reply in thread
Most phones have no mainline Linux support, and require something like ubports, which can use an unholy hack to run Linux userspace based on Android drivers and kernel. I think this one can be installed to just about any Android phone (worst case you can use the generic GSI image, which should work but be slow). Personally, I've never once bricked a phone by flashing it, and I've been doing it since ~2015 (don't remember the year, but it was a Lenovo S660).
OnePlus 6 is a 5 year old phone with a SoC that has comparatively high development velocity (SDM845), which is why it's finally getting close to full mainline support for basic features like calls/SMS/camera/sensors (still not fully there, and yes sensors are needed, they make stuff like autorotate and turning touchscreen off when you put your phone to your ear during a call work). If you want to tinker with Linux, I recommend a Pinephone; though Mobian did mention how frustrating its ecosystem is in their blog. Maybe Pinephone Pro or Librem are better, but they're way way way more expensive. If you want a daily driver, I recommend a OnePlus 6/6T as explained in the article, or some other SDM845 phone, and maybe don't DIY if you don't have the basic experience in working with ARM SBCs and Android ROMs like me lol.
postmarketOS is probably the smoothest experience you'll get on a wide range of devices, and I highly recommend it. Most other mobile Linux distros are often more or less piggy backing off their work (though of course other distros create cool stuff too).
Comment on
Llama 3.1 is out!
Reply in thread
the code is FOSS, the weights aren't, this is pretty common with e.g. FOSS games, the only difference here is weights are much costlier to remake from scratch than game assets
Comment on
Rogue Editors Started a Competing Wikipedia That’s Only About Roads (gizmodo.com)
Reply in thread
I presume it's because creating a Wikipedia article named "Gork", summarizing your Lemmy activity, would be stupid
Comment on
KDE Plasma Mobile 6 Porting Underway
Reply in thread
what do you even mean "don't support encryption"? Do you mean FDE? In that case PostmarketOS supports it, and you can get any other distro to use FDE if you tinker hard enough