@sandro@c3d2.social avatar

sandro

@sandro@c3d2.social

Some lefti :AFD:, NixOS :nixos:, Linux :tux:, Chaos :fairydust:

Don't be afraid of colorful flags :progress_pride: 🏳️‍🌈🏳️‍⚧️🚩🏴

This profile is from a federated server and may be incomplete. Browse more on the original instance.

0x17, to random German
@0x17@corteximplant.com avatar

Es wird Zeit für den unter .
Wie macht ihr das: Packt ihr alles in die configuration.nix oder baut ihr euch einzelne Module?

sandro,
@sandro@c3d2.social avatar

@0x17 Falls man nur noch NixOS system hate, ist ein Dotfile manager und alles andere im NixOS system wesentlich angenehmer.
Außerdem jagt man auf unstable nicht alle paar Wochen irgendwelchen home-manager bugs nach, die man auch nicht sauber mit forks lösen kann, weil home-manager flakes nicht verstehen will.

sandro,
@sandro@c3d2.social avatar

@0x17 in meiner persönlichen Erfahrung mit nixos-unstable und Home-Manager war das Gegenteil der Fall und irgendwann hab ich home-manager fast ganz ausgebaut, weil es zu viele Reibereien gab.
Z.B. hat der nixos doc Umbau dazu geführt, das Home-Manager sehr häufig Probleme mit seiner doc hatte und das Home-Manager nixos Modul was über eine systemd unit deployt wird, hatte auch regelmäßig Probleme und ist fehlgeschlagen.

sandro,
@sandro@c3d2.social avatar

@0x17 und dann waren die Dinge halt nicht in sync. Update in nixpkgs und dann Zeit versetzt in Home-Manager und manchmal musste man das ganze austarieren. Dann will Home-Manager flakes nicht verstehen, was Probleme beheben und kurzzeitig Forks benutzen fast komplett verbaut hat.

Ich kann nur einen Dotfile Manager deiner Wahl empfehlen und die system Dinge in nixos abzubilden. Hat man immerhin alles zusammen und synchronisiert.

sandro,
@sandro@c3d2.social avatar

@0x17 genau das, dotfiles auf dem eigenen Git Server haben, fahre ich gerade. Das hatte ich auch schon vor Home-Manager, was das ganze nicht besser gemacht hat und alles zu migrieren und viel Aufwand für wenig nutzen, besonders weil bestimmte Programme (alles von KDE) gerne in ihren dotfiles raumschreibt, aber man einige Einstellungen doch verwalten möchte.

redmp, to random

is such a compelling companion to and , but doesn't seem to get much love.

sandro,
@sandro@c3d2.social avatar

@redmp I can't recommend getting into it. It is complicated, has lots of state and unless you dynamically create ec2 VMS then you don't need it.

jhx, to linux
@jhx@fosstodon.org avatar

What is your distro/derivative/OS stack?

I personally run:
and

sandro,
@sandro@c3d2.social avatar

@jhx @jazz In my NixOS centric world, Debian is kinda garbage. If you are past the religious "stable" belief there is not much it offers. The defaults can usually not be relied on eg using journalctl and syslog at the same time and installing any production software usually requires a side channel if you don't want to use an old or very old version of a software.

abnv, to random
@abnv@fantastic.earth avatar

Today I had to write code that looked like this:

blah.overrideAttrs (oldAttrs: {  
 x = oldAttrs.x.overrideAttrs (oldAttrs: {  
 y = oldAttrs.y.overrideAttrs (oldAttrs: {  
 outputHash = "xxxxx";  
 });  
 });  
});  

folks, is there a better way to do this kind of nested overriding of attributes?

sandro,
@sandro@c3d2.social avatar

@abnv other than abstracting it away in functions, no

Cosipa, (edited ) to random

Is any good for a ? I will be using and containers. Right now I am using Ubuntu server and have a few issues regarding docker that I do not want to try to solve.

Have you used NixOS as a server? if so is it any good? Thank you :ablobsmile:

sandro,
@sandro@c3d2.social avatar

@Cosipa depending on the type of docker issues you have, any distro could change nothing about them.

All servers I maintain are NixOS. Using anything else doesn't make sense at this point.

koetpi, to random German
@koetpi@ruhr.social avatar

Unter stehe ich trotz Mini Tutorial mit und der configuration.nix etwas auf dem Schlauch. 😕

sandro,
@sandro@c3d2.social avatar

@koetpi wo drückts denn?

sandro,
@sandro@c3d2.social avatar

@Janik @koetpi den restic systemd Timer sollte man easy damit ergänzen können

raito, to random
@raito@nixos.paris avatar

Today is branch-off day.

Brace yourself, 23.05 beta will be soon available. :)

sandro,
@sandro@c3d2.social avatar
raito, to random
@raito@nixos.paris avatar
sandro,
@sandro@c3d2.social avatar

@raito @farcaller I am using OPA at work and using it correctly to match the negation or absence of something is kinda hard and you create easily errors. It is made for actively matching things and you notice that.

sandro,
@sandro@c3d2.social avatar
sandro,
@sandro@c3d2.social avatar

@raito @farcaller Heard about the similarities to prolog, too but I can't really say something about it since I don't know it

brunty, to linux
@brunty@brunty.social avatar

What distro do y’all use on the ?

Yes, this is the one time you’re allowed to be like “hi I use ” and not have everyone around you roll their eyes 😉

sandro,
@sandro@c3d2.social avatar
raito, to random
@raito@nixos.paris avatar

heads-up, unfortunately, due to Node.js 16 and OpenSSL 1.1 going EOL in 3 months, we find ourselves in a highly unpleasant situation where we need to mark them insecure for the 23.05 upcoming release.

Unfortunately, a lot of downstream web applications are still not up to date with Node.js 18 or OpenSSL 3.x, it's really a shame.

Following community feedback, I decided to put forward two proposals to enable continued caching of those packages.

sandro,
@sandro@c3d2.social avatar

@raito We shouldn't outright mark those versions as vulnerable just because their EOL. If they have a CVE then we should mark them.

sandro,
@sandro@c3d2.social avatar

@raito also true.

I think we should have started with that 2 weeks ago and not right before the branch off. Then we would have some more time and everything wouldn't be that hektik.

webbureaucrat, to random
@webbureaucrat@floss.social avatar

Was really bummed about having to re-install , but the upgrade has been delightful! looking sharp and everything just runs just a little more smoothly. <3

sandro,
@sandro@c3d2.social avatar

@webbureaucrat @raito i am pretty sure you could have recovered that. I recovered NixOS from a half deleted root disk. It is industructable.

arch, to random
@arch@floofy.tech avatar

This is your reminder to nix-collect-garbage

sandro,
@sandro@c3d2.social avatar

@jakehamilton @arch @AlexSW101 i created a PR today to fix that when the device is offline and you run it daily

chikorita157, to random
@chikorita157@sakurajima.moe avatar

It seems that the Fedi.buzz relay is still down since last night. This mean additional content we get from the relay will be unavailable until the person who runs it fixes it.

Update: It's back up.

cc: @astro

sandro,
@sandro@c3d2.social avatar

@chikorita157 @astro feel free to ping me or astro if it goes down

delroth, to random

tfw when you build a C++ library that uses meson and notice "Found CMake: NO" in the build output

sandro,
@sandro@c3d2.social avatar
s0, to random

So I’m flailing at NixOS trying to do anything slightly-beyond-basic and that’s where the docs end…
How do I just like, define some shit. That I can then use elsewhere. This feels like a very basic question.

Basically I have some config in users/myuser.nix and hosts/myhost.nix, and then fragments/i3config.nix etc, and these are included into a colmena host config in flake.nix.
I want to create a file hosts/myhost/myuser.nix, and set some things in there that can be referenced elsewhere, that are most likely to need changing per user per host. Something like userconfig.backgroundUrl = “blah.jpg”;
And then be able to use that from multiple other files for different window managers as an example.

Am I completely misunderstanding the patterns here?

sandro,
@sandro@c3d2.social avatar

@s0 you either re-use an option with config.path.to.the.option or define your own options by adding an options attr and then anything you want with lib.mkOption. Basically you can just build any module on your config like upstream does. Ommiting the outermost config/options is treated like everything is in config.

Kaitsusen, to random

bros, why didn't anyone tell me earlier this is the distro I've been looking for all this time?

sandro,
@sandro@c3d2.social avatar

@Kaitsusen then you must be the one that tells all their friends how nice NixOS is

fluepke, to random German
@fluepke@chaos.social avatar

💯

sandro,
@sandro@c3d2.social avatar

@fluepke NixOS hat koks included

sandro, to random
@sandro@c3d2.social avatar

Ich soll mal wieder irgendwas über NixOS tooten.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • everett
  • osvaldo12
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • kavyap
  • Durango
  • ngwrru68w68
  • cubers
  • JUstTest
  • DreamBathrooms
  • khanakhh
  • anitta
  • modclub
  • ethstaker
  • tester
  • GTA5RPClips
  • cisconetworking
  • tacticalgear
  • megavids
  • Leos
  • normalnudes
  • lostlight
  • All magazines