vividspecter

joined 1 year ago
[–] vividspecter@lemm.ee 2 points 2 days ago* (last edited 2 days ago) (1 children)

(What about options in flakes.nix? Should I search those on the flakes/options tab?)

Not quite sure what you mean here. I normally only configure out-of-tree packages as flake modules (or whatever the term is), and I don't think there is an official collection/search page for these. It's mainly that certain packages require it like lanzaboote, and home-manager for that matter.

Once I enabled home-manager, I saw that in ~/.config/nixos a flakes.nix and a home.nix files appeared. I already have a flake.nix and a home.nix files in my etc/nixos directory. What’s going on?

It sounds like you configured home-manager system wide, probably through /etc/nixos/flake.nix, but then called the home-manager executable. If you did configure it like this then you do not need to call home-manager ever since nixos-rebuild etc commands will handle this for you.

Does putting packages in configuration.nix use the version control flakes provide?

Typically, it will be configured to follow inputs.nixpkgs so packages will use versions of whatever revision is currently pulled. In my system that is:

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

and then you essentially pass that to configuration.nix, and home.nix.

And although you seem to already be using flakes, when you call:

nix flake update

a new revision of input.nixpkgs will be pulled, and so packages configured in configuration.nix will be updated when you next call

nixos-rebuild switch

or whatever you used to update your system.

Refer to: https://nixos-and-flakes.thiscute.world/

if you haven't already as there is where I got started from for the most part. There's a lot more detail I missed since nix and flakes are pretty complex (and I don't fully understand much of it either).

[–] vividspecter@lemm.ee 7 points 3 days ago (3 children)

System packages in configuration.nix, user packages in home.nix. I'd say anything that is non-interactive and/or requires root access is a good rule of thumb for system packages. Beyond that I try to use modules for configuring packges and there is usually only one of nixos and home manager options (sometimes there are duplicates).

As for flakes I mostly use it to handle a bunch of different systems from one config and any flake specific configs. I also use standalone flakes for dev environments but that's not related to the system config.

[–] vividspecter@lemm.ee 29 points 3 days ago

They are planning to use KVM under the hood in the future. But who cares when we have qemu and libvirt.

[–] vividspecter@lemm.ee 7 points 4 days ago (1 children)

It was mostly the girls doing that, and they haven't gone as hard right.

[–] vividspecter@lemm.ee 14 points 4 days ago

It's rumored Jeffries was instrumental in the congestion pricing delay (that may now be a permanent delay).

[–] vividspecter@lemm.ee 81 points 4 days ago

If you can convince the lowest white man he's better than the best colored man, he won't notice you're picking his pocket. Hell, give him somebody to look down on, and he'll empty his pockets for you.

  • Lyndon B. Johnson
[–] vividspecter@lemm.ee 7 points 4 days ago

Yeah, it would have just been feeding their infinitely expandable persecution fetish. The same goes for the legal cases against Trump. It was the right thing to do, but it just meant that Trump supporters dug in their heels even more.

[–] vividspecter@lemm.ee 45 points 5 days ago

Silver linings and all of that. Lake is a real piece of work and now a two-time loser.

[–] vividspecter@lemm.ee 35 points 5 days ago (3 children)

The irony being that healthy teeth don't look anywhere near that white.

[–] vividspecter@lemm.ee 2 points 5 days ago

It's not just men that believe this either. Internalised misogyny is still a thing, unfortunately.

[–] vividspecter@lemm.ee 2 points 6 days ago

It can work if it's combined with batteries. And heat pumps are a no brainer, even in cold regions.

[–] vividspecter@lemm.ee 6 points 6 days ago

Life imitating art. And it's unsurprising that these people have the maturity of teenage boys.

 
 

It became very obvious after starting this channel that probably the biggest motivating force for people who care about urbanism is, simply, the fact that places with great urban qualities are often so unaffordable. Enter YIMBYism, the movement that says the more neighbors, the better, and the more people who can afford to live in a city, the better it is for everyone.

 

tl;dr Geometric mean results

 

tl;dr EEVDF CPU scheduler that has replaced Linux's previous default scheduler (CFS), is close to completion. CPU schedulers can have a significant effect on performance and latency of various tasks.

It will be interesting to see how it compares to BORE which is what I use on my desktop systems. There's also the many workload specific schedulers that sched_ext allows for, but it's still not in mainline I believe.

view more: ‹ prev next ›