ioc.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
INDICATORS OF COMPROMISE (IOC) InfoSec Community within the Fediverse. Newbies, experts, gurus - Everyone is Welcome! Instance is supposed to be fast and secure.

Administered by:

Server stats:

1.2K
active users

#nixos

76 posts59 participants10 posts today

#pokapulpit

Miałem sobie darować #NixOS , ale tak jakoś wyszło, że skonfigurowałem go do końca XD Działa jak złoto - co prawda to nie jest mój główny komputer, ale będę sobie testował to distro dalej.

KDE z ikonkami Papirus wygląda obłędnie.

Dolphin to nadmenadżer plików.

Ogólnie KDE się ładnie wyrobiło.

Alright, well, I have a Drupal site now.

It's unavailable at the moment; I still have to set everything up.

The setup I finally got to work uses Nginx for the reverse proxy/web server and PostgreSQL for the database, both of which are set up in the traditional NixOS way. The Drupal site itself is not, though; I finally just gave up and made a directory for it, and installed it to said directory using Composer, manually.

So the site itself is the only part that isn't "reproducible" according to NixOS. I manage the site myself; it's not actually reproducible, to me, when NixOS manages it for me, because it does some kind of black magic involving symlinking directories outside of the Nix store, to the Nix store. Not all of it, though. So I didn't actually have direct access to the entire directory for the site, because that was a Nix store path, which could change at any time. This is one of those few times when I got tired of fighting NixOS and just did something normally. 😂

#Nix#NixOS#PHP

Wow. Ich habe ein deep-dive in #nixos und #hyprland gemacht. 🫨

Ich sehe das Potential, aber da geht schon krass viel Zeit drauf (und das obwohl ich nur YT Tutorial nachgehe und nichts selber recherchieren muss).

I just wanna say THANK YOU to everyone here who is talking about, testing, and even contributing to the #nixbook project!

When I started this project last year, I could never imagine it being this far along and well loved by now.

#foss really is the best damn way to do software and love y'all!

The 25.11 release of Nixbook is going to be an epic one!

Continued thread

You can guess now why I get angry (yes, it really is anger, or frustration) when people devise a language like Nix but DO NOT make it a Lisp.

They have cut off the ability to easily add a serious macro facility that does not disrupt text editors and pretty printers.

They have also complicated the ability to represent the language as data. They have not prevented this, of course, but they have made it more complicated.

Continued thread

I have suggested Nix get an hygienic (‘referentially transparent’) macro facility like Scheme’s syntax-rules, but Nix has the problem that it is not a Lisp. It COULD HAVE BEEN a Lisp as easily as it is what it is, but it is not.

Thus nixfmt would be befuddled by the macro facility.

Otherwise I see no problem with the suggestion.

For instance, people have difficulty with writing recursive functions. What if they could use something like Scheme’s ‘named let’ macro? It would be easier.

RE: masto.ai/@chemoelectric/115533

You can see here an example of what is meant by ‘macro’ in the context of Scheme or Common Lisp. It is not the same thing as is meant by ‘macro’ in C.

It means extending the syntax of the language. Here to add Nix as sublanguage.

In C it is rare to use macros to alter the syntax of the language, although VERY occasionally it is done. To do so creates problems for C, though, because unlike Lisp it is not ‘still s-expressions’.

(BTW C does NOT have macros. It needs a preprocessor.)

The same computer printout as earlier, but with some arrow symbols pointing in opposite directions.
MastodonBarry Schwartz 🫖 (@chemoelectric@masto.ai)Attached: 1 image Here you go.

I added (begin ...) to the syntax of entries in nix-set and nix-setrec of Pipchix.

This way you can group entries within single s-expressions. It is potentially useful with advanced macro and file inclusion systems. And it is harmless. ‘begin’ is already a keyword.

I am not myself making much use of it yet. But for instance if you could build code from quoted s-expressions. You can do that with advanced macro systems.

Actually you can do that with (eval ...) in a standard Scheme.

It's time to scratch that itch again.
I've got a bit bored of my #debian + #ansible setup. On the older servers it's a little slow and prone to breakage. Playbooks can easily break due to small changes. So it feels like I'm always fiddling to keep them working.
I'm curious what #nixOS is like. The "write your config once, keeps working" seems very tempting.
On the other hand, switching to #pyinfra and/or #alpine may also scratch that itch.
But first, upgrade to #debian #trixie (well #armbian)