Skip to main content
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink oct 6 2022 25 sec 75/50 words

After daily driving NixOS and the Nix for almost three years, it feels like it’ll be simplified by entities external to the project. It’s still in that academic phase (don’t do this/that) and needs software engineering .

That usually involves reducing boilerplate ruthlessly while generalizing/capturing fundamental uses cases (setting implicit best current practices). It’s reminiscent of lxc just before docker arrived for the masses.

this blog is served to you by NixOS :-)

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jul 31 2022 16 sec 48/50 words

I’m just now realizing that there might be a schism within the Nix/NixOS ecosystem/community on old versus new interfaces. If that’s remotely true, then somewhere, a great holy war is at play. Here’s an article summary of the old versus the new interface that I stumbled upon recently.

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jul 22 2022 14 sec 43/50 words

This blog is really really good for robust usage of Nix/NixOS. I stumble upon it every so often. Another excellent blog is “How to Learn Nix” which explores in excruciating detail the painful parts of nix and its documentation. Discovered that one recently.

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com (edited) view markdown plaintext permalink jul 7 2022 14 sec 42/50 words

What’s funny about the NixOS/GNU Guix design is that it tricks developers into writing their own system packages. That would never happen on other Linux distributions. I’m slowly favoring Guix though, since the new nix flake interface couples too tightly with git.

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jun 19 2022 32 sec 97/50 words

Nix/NixOS are great for documenting system configurations/models, but the long evaluation times make for slow feed back loops.

My knowledge of the functional ecosystem is mostly diddly, but maybe there’s a way to speed it up? Ignore all module and package imports and piece together a minimal evaluation perhaps?

nix
{ ... }:

{
  imports = [
    <nixpkgs/nixos/modules/programs/git.nix>
    <nixpkgs/nixos/modules/security/auditd.nix>
    <nixpkgs/nixos/modules/services/databases/postgresql.nix>
  ];

  nixpkgs.overlays = [
    (_: pkgs: {
      cpio = pkgs.callPackage <nixpkgs/pkgs/tools/archivers/cpio/default.nix> { };
    })
  ];
}

If that goes anywhere, maybe that’s an article, but I’m fairly certain someone must have tried something like this already.

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink may 10 2022 26 sec 77/50 words

The peculiar thing about the nix ecosystem, is that the easiest way I’ve been able to convince someone to try nix is to first show nix-env. Then apply the idea of declarative package management. Not too long after that they’re on NixOS or using nix flakes, and have catapulted far past my own knowledge of nix.

Only recently did I discover that in the wider ecosystem, using nix-env is a big no-no — that’s sort of interesting.

#nixos

Authors

Web Ring