We’re a sudo nixos-rebuild boot household here
You forgot to update the flake. Also, who uses sudo in this day and age?
I’m ignorant here, what’s the alternative, just su to root for admin?
I use run0 c:
security.run0.enableSudoAliasandsudois powered byrun0and polkit, but still takes the same parameters as the originalsudo.
I assume paru -Syu
Just
paruDoesn’t
parujust callsudo pacmanto install the built package?
Often doas tho I personally prefer sudo-rs rewrite because it solves 99% of the compatibility edgecases
and breaks Ansible
Well I use sudo-rs, and my CI does that for me :p
But tbh it’s rare I run rebuild directly anymore. Most of my machines are set up for automatic rebuilds from my remote. Otherwise I use shell app shortcuts that cache the URI to disk so I only need to pass my flake remote or local folderpath once, then all subsequent cmds use it;
nupto update the flake lock,nbootornswitch, andhswitchfor home-manager.(most of my machines use HM nixos module but my main uses standalone for easier tweaking; switching between module and sa is a one-line host change in my config)
I also have
nsandnrscripts for aliasing nix shell and run using the flake’s lock. e.g.nr u.yt-dlpruns the yt-dlp program from the unstable nixpkgs my host is pinned to;s.for stable. If I need a specific revision then I fall back to the regular nix command.Using shell apps as cross-shell shortcuts/commands has really changed how I use my terminal.
Came here to say the same!! sudo nixos-rebuild switch if I’m feeling frisky.
Average Arch user
Please girls, what does the joke mean? I am not a computer gay
Sorry! I should have put it in the description, it’s a Linux joke about updating Arch Linux, specifically, and that a lot of (definitely not all) trans women use it.
But funnily enough, as the comments show, everyone uses even more obscure distributions.
You’re fine, thanks for explaining! Sometimes I feel like I’m the only transfemme who doesn’t know computers… changing OS on my desktop or phone is scary even though it looks more and more like the smart move these days 😅
I kinda want to go back to the days when I didn’t know it 😄 You’re also definitely not the only one!
Not even distributions necessarily, just different package-managers that also have support for the AUR. (paru is in fact developed by one of the maintainers of pacman itself, which is one of the reasons for why I’m going with it)
But yeah, Arch requires regular system-updates, that you should kinda do daily, except at some point you get lazy and stop doing them…
Is there no way to automatise those system updates…?
when you update, you also get some news, and sometimes it says critical stuff in there, like new driver version doesn’t support certain devices any more, or configuration needs to be redone or something like this
Yes but because arch ships updates very close to when app devs release updates there are sometimes (very rarely in my experience) breaking changes that the user needs to fix manually (arch devs always tell users how to but it means automating updates can cause problems)
Sure, just put it in a cron job. There are safer ways too listed on the arch wiki iirc.
-Sysynchronizes the local package database with the online repository-Suupdates all packages that have updates; downloads and installs the packages
When i used cachyos, i forgot to update for over a year (i had been using cachy browser)
I switched to nixos before coming out to a friend though
I feel so attacked. This is absolutely inaccurate!
I ran my pacman update this morning like every morning.
Good job!! ⭐
yay
no thanks, dont need broken system today
Might I interest you in The Good Book that proclaims the saviour who provides upgrades-everlasting?
For this system configuration is not all there is; there is more after it for those who embrace this gift
hehehe, im nixos user already, so dont scared of updates :3
Awww what a smart kitty~~~
mrmprmpmprmprmprmpmpr
Timeshift autobackup on update 🙏
Ouch…
I’m using paru, but fair, I’m now running it…
I’m on void, personally, but the sentiment remains 😔
I got flamed on a discord for showing my runtime as like 9 days or something since my last sudo pacman. What is the conventional wisdom for upgrade scheduling? I typically do like once a week but I don’t mind if it ends up being once a month. Is that bad?
I was tempted to switch to Nix but the reviews I’ve seen said it’s a lot more work than Arch and there’s less compatibility (although i find arch to not really be time intensive but I do have compatibility issues still here and there).
Nah people are over zealous these days. I do it on Fridays or when I remember, whatever happens first. And I’ve been running arch or other rolling release distros for well over 15 years.
These days prompt injection or supply chain attacks are way more likely to pwn you than running 1week old software. (My own thoughts, idk if this is good praxis either.)
But flaming is bad and you shouldn’t get that response regardless. Sorry ❤️
It was a rowdy crowd, I choose to take it in jest. Thanks for this advice, I appreciate it.
Where my
rpm-ostree upgradesiblings at?Right here!
Used to be but now I
run0 emerge -DuN @worldJust had to install bazzite for a family member on an old Win8 laptop with Broadcom wireless.
Ugh.
I’m a fedora gay so, sudo dnf update -y
I’m so sorry they are making you use Fedora
Sees massive wall of firmware updates
I’m gonna give it a few days to settle before I install all of that.
I’ve had 3 firmware updates in a row, I didn’t have any problems but it must have been a bad week for users with less common hardware…
@katiecakes sorry I have FOMU (Fear Of Merging Upstream)
So valid 🙏😔
I’m using nixpkgs stable, i think i’m good, updated 8 days ago
I’ve been doing my updates routinely, but man, I’ll be damned if I let any of my AUR packages update yet. Ever since the last big ‘hack’ happened to the AUR, I’ve been fearing it like mad. It may only be four packages, but mmmmmm I’ve got my concerns.
- Remove the AUR packages you don’t need (
pacman -Qmto check) - read the diffs for the remaining packages
I suppose I should give the full story. I have checked them a few times, and two of which had their maintainers altered. Under the recent AUR attack, I believe that’s been a requirement for malicious alterations to seep in, yet I don’t entirely know what the malicious alterations look like in code. Three of the four packages ship default with CachyOS, with the stray one being added by myself. Conveniently enough, the one I added myself is the one I trust the most and actually feel confident enough in my auditing of.
As for removing unnecessary packages, yeah that’s a fair point. Much as I like Cachy for being an easy-to-use Arch based distro, it does bring a handful of bloat with it. Suppose I’ve just been afraid I’d be removing a dependency.
If you use the usual
pacman -Rnsyou can’t accidentally remove a dependency. Pacman will warn you about thatFor the last attacks, packages just has additional commands running some JS installer. The best way of being sure is reading and understanding the full PKGBUILD and then checking the diffs. In most cases only the version and SHA sums should change on an update.
- Remove the AUR packages you don’t need (
some wrappers tell you if owners changed since last time















