ImgurRefugee114

joined 11 months ago

Yes the nix catgirls sure are sloppy mmmm

[–] ImgurRefugee114@reddthat.com 3 points 2 days ago* (last edited 2 days ago)

Definitely. It's totally not the right thing for everyone But coming from windows, I remember the first time I wanted to switch from gnome to kde on arch resulted in a week of pain before just reinstalling... As someone who's very forgetful, I also tried to write scripts to automate the changes I make on new systems, and remember what weird fixes I applied, where, and why; would usually end in disaster because of how fragile I felt everything was. I tried freebsd, debian, ubuntu, arch, manjaro, mint, even backtrack5 way back when. None of them stuck for one reason or another. NixOS is the first distro I've used long-term as a daily driver, and I'm pretty convinced it will be the only distro I use going forward (in one form or another).

And regarding my point about update frequency, I mention that also because of my experience with arch. Everything is user-error. Reminds me of the straight to jail meme. Update too fast? Borked. Update too slow? Believe it or not, also borked. Update without reading the forum? Straight to borked. Not so much a problem for me now.

But again, totally not for everyone. The vast majority even. But it jives with whatever part of whatever spectrums I'm on.

Amateur glares in NixOS

[–] ImgurRefugee114@reddthat.com 8 points 2 days ago (1 children)

Funny; that's exactly who I was thinking about in my other reply here...

[–] ImgurRefugee114@reddthat.com 117 points 2 days ago (14 children)

Yes but you risk becoming insufferable in casual conversation

[–] ImgurRefugee114@reddthat.com 7 points 2 days ago* (last edited 2 days ago)

Mhm debian users are, indeed, dwarves

[–] ImgurRefugee114@reddthat.com 8 points 2 days ago* (last edited 2 days ago) (2 children)

Yes you need to use a shell to make it reproducible in the nix sense; a regular venv will try to point to the nix store or lose libraries (or try to dynamic-link stuff) when your system env changes which is why you need it to be independent of it.

I don't bother with venvs in my own projects because nix kind of subsumes its purpose, but it's possible to work with them still.

Something that might help: devenv. I haven't used this personally but the UX looks like an upgrade. (I just use flakes with dev shells defined inline long-form)

This video came across my feed last night, and might give you a rough idea: https://youtu.be/jldArhyi6jM&t=581

[–] ImgurRefugee114@reddthat.com 9 points 2 days ago* (last edited 2 days ago) (4 children)

Documented declarative centralized configuration of all my systems; that value can't be overstated.

Then the fact that I can run any version of any nix package from anywhere at any time with a single terminal command,

the ability to effortlessly and cleanly switch desktop environments with completely no friction or fear,

to be able to roll back by booting into any previous configuration still on disk, or entirely rebuild any older configuration I've tracked in git,

Painless and fearless updates with a rolling release, very little chance of borking and I can never get out of step; doesn't matter if I update once an hour or once a year,

I can share my settings with friends e.g. they can try out my MPV config with a single nix command, or consume my flake outputs and add it to their system with merge/overriding changes,

I can clearly version system dependencies for everything that needs them without shipping containers,

I can define development shell environments which is basically like python venvs with requires profiles but for every language,

I can remotely provision a machine, including disk partitioning and luks and initrd ssh, with a single command,

There's a plethora of modules that make setting up complex services with sensible defaults as simple as "enable = true;",

... I could probably go on for a while but yeah

[–] ImgurRefugee114@reddthat.com 16 points 2 days ago* (last edited 2 days ago)
{ lib, options, ... }:
let
  names = lib.filter
    (name: lib.hasAttrByPath [ name "enable" ] options.gender)
    (lib.attrNames options.gender);
in
{
  config.gender = lib.genAttrs names (_: {
    enable = true;
  });
}

That way I know my configuration will always be comprehensive even when nixpkgs releases a new gender

[–] ImgurRefugee114@reddthat.com 15 points 2 days ago (6 children)

It's usually pretty straight forward to get python things to work once you know how, but yeah, you can still hit edgecases with poorly structured dependencies. Even in simple cases, having to package things as an end user can be a tough barrier. Personally, I find the pain to be well worth what nix offers me, but I know that it's just not a good fit for the vast majority of people.

[–] ImgurRefugee114@reddthat.com 11 points 2 days ago* (last edited 2 days ago) (2 children)
humanConfiguration."user".gender  = {
  female.enable = true;
  male.enable = lib.mkForce false; 
};
[–] ImgurRefugee114@reddthat.com 83 points 2 days ago (4 children)

His attorneys say border agents repeatedly demanded access to his phone and told him they did not need a warrant.

Tunick’s legal team is now trying to have the evidence thrown out. It argues that he was questioned without being read his Miranda rights, that agents repeatedly refused his requests to speak with a lawyer, and that the phone search was an unreasonable seizure. His lawyers also say questions about child sexual abuse material were used as a pretext to investigate his alleged links to the movement opposing Atlanta’s police training center, commonly known as Cop City.

And that's why you always use a burner when going in or out of Nazi country, even if you live there.

view more: ‹ prev next ›