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 Embed Permalink Jul 23 2022 02:32 UTC 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.

#linux
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 Embed Permalink Jul 7 2022 11:09 UTC 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.

#linux
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 Embed Permalink Jun 20 2022 04:39 UTC 13 sec 38/50 words

Very tempted to stick GNU Guix somewhere in my main workflow — Guile Scheme looks interesting. I’m sorta curious as to why people like Lisp languages so much. The plan is to read the reference manual. (yeah… right)

#linux
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 Embed Permalink Jun 20 2022 03:47 UTC 32 sec 96/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.

#linux

Authors

Gallery

Following (6)

Web Ring