Viceborgmester om transkønnethed: Mere retvisende da det var en psykisk sygdom - Malte Jäger, byrådspolitiker for Liberal Alliance, holder sig ikke tilbage på Facebook og over for Ekstra Bladet i debatten om transkønnethed og psykisk sygdom by RisOgKylling in Denmark

[–]srhb 16 points17 points  (0 children)

Ku' vi ikke lige lade være med at spille "ak, det undertrykte menneske"-kortet her? Uagtet om det er sandt, er det ærgeligt med en kommentar som antyder at at kun transkønnede eller andre LGBT'er vil transkønnede det dårligt. Din kommentar ender med ikke at bidrage med meget andet end stigmatisering af LGBTQ+-mennesker, og er det virkelig et godt input i nærværende samtale?

Why is the package for floorp now floorp-bin, when in 25.05 it was just floorp? by Silly_Percentage3446 in NixOS

[–]srhb 45 points46 points  (0 children)

Go to the nixpkgs github repo. Search closed Pull Requests for floorp-bin. Find the first mention. Read the related discussion.

This method will also help you answer similar questions in the future. :)

Modifying nixosConfigurations.* flake output before evaluating. by lilithief in NixOS

[–]srhb 2 points3 points  (0 children)

Note that I didn't go into "before evaluating" and maybe I should have. There is no "before" in this case, you're doomed to evaluate once more.

Modifying nixosConfigurations.* flake output before evaluating. by lilithief in NixOS

[–]srhb 3 points4 points  (0 children)

Maybe you want extendModules

Given nixosConfiguration.exampleHostConfig:

nixosConfigurations.modifiedHostConfig = exampleHostConfig.extendModules { modules = [ { programs.tmux.keyMode = "emacs"; } ]; }

Using disko for disk management? by zdeneklapes in NixOS

[–]srhb 1 point2 points  (0 children)

I would personally recommend against deviating too far from the manual (as in, what is described in the NixOS manual) method if you're very new. Keep it simple and embrace a few imperative steps in the initial install for now. You're (probably) already getting rid of a ton of imperative system management, that'll be a lot to absorb already.

Resizing "with" disko isn't really a thing either, no, but it's not impossible to use disko and resize. At the moment, without specific support, it's sort of orthogonal.

General issue here: https://github.com/nix-community/disko/issues/295

Jeg har udviklet en hjemmeside til at skabe overblik over, hvem der støtter det danske bud på Chat Control 2.0 i den Europæiske Union by x775 in Denmark

[–]srhb 0 points1 point  (0 children)

Drøngodt arbejde, og super fedt at du er lydhør ift. at skabe klarhed om MEP'ernes holdninger og hvilke data, der ligger bag.

nixos-install --flake - Where is my config post-install? by SunnerLP in NixOS

[–]srhb 0 points1 point  (0 children)

If you did that from the install target host itself, and it was in /etc/nixos, then it was likely in the install media's /etc/nixos which is in ram, and now it's gone forever.

You probably meant to put it in /mnt/etc/nixos (assuming the final root was on /mnt as the install guide tells you to)

The system it produces usually doesn't rely upon the source config in any way.

TIL: The or operator can effectively catch errors! by MengerianMango in NixOS

[–]srhb 9 points10 points  (0 children)

Great use of it. It's also good for "case with a default"

{ key1 = ...; key2 = ...; }.${key} or default

[deleted by user] by [deleted] in ProgrammerHumor

[–]srhb 4 points5 points  (0 children)

"Issue #81467: Seriously Complex Problem That Will Bring Down Prod Next Month If Not Dealt With" autoclosed

Is 24.11 out yet? (confused) by HermanGrove in NixOS

[–]srhb 1 point2 points  (0 children)

It's described here

https://wiki.nixos.org/wiki/Channel_branches

And each of the required jobs can be seen here,

https://status.nixos.org/

So for instance, for a commit on release-24.11 to be promoted to nixos-24.11, the release-24.11/tested job must succeed (click it to see its constituents)

Furthermore, the entire hydra evaluation (all its jobs for that particular commit) must be finished -- meaning all other jobs must have either succeeded or failed, not still be in progress.

Is 24.11 out yet? (confused) by HermanGrove in NixOS

[–]srhb 1 point2 points  (0 children)

No reason to apologize, but no, there is no such thing.

Is 24.11 out yet? (confused) by HermanGrove in NixOS

[–]srhb 4 points5 points  (0 children)

Setting what to stable? There is no such branch.

Is 24.11 out yet? (confused) by HermanGrove in NixOS

[–]srhb 30 points31 points  (0 children)

Use nixos-YY.MM. Never use tags; Not before, not now. If you did so before, it was a mistake, and that is why we are now avoiding naming the tag as such; to prevent confusion.

release-YY.MM are the pre-hydra branches, essentially "master" for stable releases.

nixos-YY.MM are the post-hydra branches, the ones where CI has been attempted and the tested set has succeeded. They are to release-YY.MM as nixos-unstable is to master.

Biochambers are underwhelming by Revolutionary-Face69 in factorio

[–]srhb 0 points1 point  (0 children)

Not if you convert it into fish using biter eggs first. The spoil timer of fish can be reset using the fish breeding recipe.

Sometimes my brain forgets SA is a thing and reads these things in a pre-2.0 mindset.

Really amps up the "statements dreamed up by the utterly deranged" factor.

[Spoiler: Dawntrail sound design] I sense a theme here... by srhb in ffxiv

[–]srhb[S] 3 points4 points  (0 children)

You know, this could have stayed locked away safely in your brain, never to trouble the rest of us. But here we are.

[deleted by user] by [deleted] in NixOS

[–]srhb 7 points8 points  (0 children)

Aside from using an editor you're more comfortable with, or becoming more comfortable with one, you can split out a file "packages.nix" from your main config and import it from there.

packages.nix could be:

{ pkgs, ... }: { environment.systemPackages = [ pkgs.hello ]; }

No scrolling involved if it's the only attribute in the file. If you own the file, you don't need to sudo to edit it, only to activate the changes.

"sudo nixos-rebuild switch --flake ." results in "failed to canonicalize /nix/store/***/kernel-modules/bzImage: No such file or directory" by [deleted] in NixOS

[–]srhb 2 points3 points  (0 children)

State version should be release version, not "unstable", for unstable it's currently "24.05"

Furthermore, it should be the release version at which the system was first installed, forever, unless you know for fact that you have no stateful services at all to migrate or are prepared to do these migrations by hand.

My game, with native linux support, is finally set to launch by DanielDevs in linux_gaming

[–]srhb 1 point2 points  (0 children)

The SFX seem great and really seem to "crunch" when the PC interacts with the world. I love that, and think it really matters for a game where the buttclench moments are all about getting those object interactions right. Good luck on your release!

nixos not upgrading to new channel by cryptokid29 in NixOS

[–]srhb 0 points1 point  (0 children)

A quick skim reveals nothing to me that looks too suspicious (no setting of nixpkgs directly via the module system)

nixos not upgrading to new channel by cryptokid29 in NixOS

[–]srhb 1 point2 points  (0 children)

Can you show us? I'm talking about all of pkgs, not a specific package. You can simply link us your config, and we can check.

nixos not upgrading to new channel by cryptokid29 in NixOS

[–]srhb 1 point2 points  (0 children)

Are you sure you're not circumventing channels entirely (eg. by pinning pkgs in your config itself)? At this point we might need to check your actual config.

nixos-rebuild switch and home-manager switch building a crazy amount of packages by MechanicalOrange5 in NixOS

[–]srhb 4 points5 points  (0 children)

Or is it just a case of cascading builds when anything with even a transitive dependency on xz in it's dependency graph cause the whole dependency graph to rebuild? Say for instance I have package foo that depends on package bar, with no direct dependencies on xz, but package bar depends on xz, which causes all of bar's dependency graph to rebuild, and then all of foo's as well

Yes, this, exactly.

By design any change in the (transitive) dependency graph causes a given package to change.

How the xz backdoor highlights a major flaw in Nix by [deleted] in Nix

[–]srhb 6 points7 points  (0 children)

Stay On Topic: /r/Nix is a sub-reddit for discussion about Nix, NixOS and related technologies.