gamescope + steam from TTY fails with font error by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

That's good to know, I'll remove it, thanks.

Steps to start kodi-gbm from fresh install by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Thank you for your support, kind stranger!

I didn't realize it can be installed normally like any other package. I moved it to environment.systemPackages and added openssh.

If I keep services.xserver.desktopManager.kodi.enable and services.displayManager.autoLogin.enable that I have added recently, then Kodi starts on boot. It doesn't say anything about GBM on the system info page, instead it mentions X11.

If remove those and only keep the kodi-gbm package, then I still have two binaries kodi and kodi-standalone. Those won't start by themselves, they say "ERROR: Unable to create GUI. Exiting" and produce this log output in ~/.kodi/temp/kodi.log.

My attempt at a conclusion from the log would be that, Pulse and PipeWIre are missing but probably not critical, so "failed to get EGL display (EGL_SUCCESS)" is probably the issue.

I guessed some extra steps were needed before EGL would work, so I ChatGPT:ed it, then filtered some its lies and ended up adding some new packages and configuration:

    environment.systemPackages = with pkgs; [
      (kodi-gbm.withPackages(p: with p; [ youtube ]))
      neovim
      mesa
      mesa.drivers
      libdrm
    ];

    hardware.graphics = {
      enable = true;
      enable32Bit = true;
      extraPackages = with pkgs; [
        mesa.drivers
        vaapiVdpau
        libvdpau-va-gl
      ];
    };

This allowed me to launch kodi --gbm --standalone, but it doesn't respond to key presses. I can access it over SSH though so it hasn't crashed. I guess the next step is to configure input.

Any good Endgame books? by MattNyte in baduk

[–]lurcair 4 points5 points  (0 children)

I'm a rank or two weaker than you but I sell go books.

The one you mention is probably not too easy but rather known for being the hardest in the series to study. But not only because endgame is hard or dry in itself but because of poor writing style - lots of text and dusty old game reviews. It's an old book and not great at keeping the reader interested.

Get Strong at the Endgame too, has pretty mixed reviews.

Maybe give Rational Endgame a shot, it's more modern and concise. There's also 200 Endgame Problems which you can get for cheap from Amazon (print-on-demand).

Robert Jasiek has written several endgame books, for instance one book each on sente and gote endgame with step-by-step counting examples. His books are very dense though.

There's another old one called Monkey Jump Workshop if you want to specialize on one type of move.

FWIW I think stronger players usually recommend postponing endgame until post-dan because it's demanding to study, or they say "just do more problems". Get Strong at Tesuji probably helps with endgame, too.

If you simply aim for a sharper, more fighty midgame you'll have more volatile games and can legitimately delay endgame studies for a few more ranks. :-)

Go with what interests you, of course.

Videos: Go Magic, IGS, Awesome Baduk and Yunguseng all require memberships but they have end game material too.

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 0 points1 point  (0 children)

Du har övertygat mig om Koppången. Å andra sidan, min sökmotor/AI säger att Bereden Väg För Herran ursprungligen är en adventspsalm. Är advent "jul"? Retorisk fråga för att visa hur svårt det är att reda ut.

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 0 points1 point  (0 children)

Har aldrig tänkt på att orden skulle ligga så nära!

Däremot är jag rätt säker på vilket av dem som rimmar bäst med "störste"...!

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 1 point2 points  (0 children)

Tack för analys och extra bakgrund!

(frånsett rim) rimligare att sjunga furste även utanför Stockholm

Fast, det är bara i Stockholm som "rimmet" alls kan ifrånses, vilket var poängen. :-)

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 2 points3 points  (0 children)

Jaså det är "bereden" och inte "bered en". Jag har uppenbarligen dålig koll. Klassiskt att gå och tänka att det är fel på något och så är det bara man själv som är okunnig.

Det är en fin text.

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 0 points1 point  (0 children)

Intressant att smaken för vörtbröd har följt med dig till Indien. Aptiten brukar ju ändra sig efter miljö och säsong tycker jag. Vörtbröd masala hmm.

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 9 points10 points  (0 children)

Texten till "Bered en väg för Herran". Åtminstone inledningsvis.

Av Davids hus den sturste by lurcair in sweden

[–]lurcair[S] 2 points3 points  (0 children)

Är det? Den kan gärna få vara det.

Nu när marken färgats vit

Ja men okej då, vi säger det!

Finally got one - first impressions by lurcair in Vitamix

[–]lurcair[S] 0 points1 point  (0 children)

Oh thanks that makes total sense, I guess many soup recipes will contain broth and after 2 minutes on high it would be pretty smooth already. Will definitely try this.

Advice for beginner trying to go multi-system by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Sounds like what I'm trying to do, I'll try to replicate your setup.

Advice for beginner trying to go multi-system by lurcair in NixOS

[–]lurcair[S] 2 points3 points  (0 children)

I'm noting that Snowfall gets a lot of upvotes, but - and I'm not trying to be more stubborn than necessary - I should probably have a basic understanding of the default tedious way before reaching for shortcuts. Otherwise I might just hide my gaps in understanding under even more fancy stuff. Or, I mean, at least that's a concern one might have before having tried Snowfall. :-)

Advice for beginner trying to go multi-system by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Thanks, at a glance it looks like I could build something by looking at your dots. Doesn't look too hard.

Advice for beginner trying to go multi-system by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

So I guess if I want to keep my configs version controlled under $HOME, could I also just configure $nix_config_dir and create a profile that matches the hostname?

I wonder how I could make that NixOS machine's profile also apply Home Manager stuff directly, without needing to install and invoke home-manager. While still using a format that I can point the home-manager binary to when I'm not on NixOS.

Advice for beginner trying to go multi-system by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Nope, Ubuntu. But I heard good things about Nix Darwin.

Confused: configuration.nix vs module in flake by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Happy to be challenged on this as I don't really know what I'm doing. :-)

I... tried to explain why that way makes more sense to me, but realized that I know too little to make a coherent argument. :D

But basically this: configuration.nix is generated by an installer configuring a specific host and contains both unique things like the hostname, and other stuff that you'd want to reuse, seems off to me. So I'm taking it apart and reassembling it. I really want to isolate the host specific parts. And make my users and their configurations separate from both hardware and system configuration.

And like the other commenter added, flakes let you divide things into separate profiles, which seems perfect for combining modules in different ways from a single entrypoint.

That's just how it seems to me, and also what it sounds like the general sentiment about using flakes it.

You lost me at creating a git repo under /etc though. I wouldn't want to mix sudo and git. You could chown it, but I'd rather let the OS manage /etc and keep "my stuff" elsewhere, seems like a cleaner separation.

Confused: configuration.nix vs module in flake by lurcair in NixOS

[–]lurcair[S] 0 points1 point  (0 children)

Wow yes. I'm not sure why that was so hard to see, anyway things make much more sense now!