Skip to content
  • I hate NixOS but I love NixOS.

    Uncategorized nix nixos nixoslove linux blog
    3
    0 Votes
    3 Posts
    0 Views
    jay@social.zerojay.comJ
    @peritia There are solutions for some of the issues you've brought up - and of course, they aren't all in one place. In terms of boilerplate/reusability, I use the dendritic pattern with den (https://github.com/denful/den) which cuts down so much on boilerplate stuff. You can put all your nvidia stuff into a module and only import it on certain machines that need it, that sort of thing. Makes managing my laptop, desktop and handheld pretty easy. Of course, that means flakes, that means one more thing to learn on top of that as well.wrapper-modules might be interesting for you for making some of your environment more portable, Vimjoyer has a video about setting that up: https://birdeehub.github.io/nix-wrapper-modules/md/intro.htmlAlso, don't forget that you can use build-vm to build a VM out of your nix configuration too.I'm not using Nix on my homelab as I'm pretty standardized on Proxmox so I can't say I know much about how difficult it is to set up Minecraft the nix way. I'm basically using a docker image in a VM for it.The hardest part is avoiding systemd if you feel that strongly against it (as I did at one point long ago as well, still not happy with it). All in all, I think it was pretty fair and interesting blogpost.
  • "nix" on Fedora Linux 44.

    Uncategorized linux fedora fedora44 nix
    1
    1
    0 Votes
    1 Posts
    3 Views
    larvitz@burningboard.netL
    "nix" on Fedora Linux 44. What a time to be alive #linux #fedora #fedora44 #nix
  • 0 Votes
    1 Posts
    6 Views
    trendless@mstdn.caT
    Don't use a tool in production that you don't understand. A tool that abstracts away complexity isn't made to be resilient to all manner of manual adulteration.#docker #kubernetes #proxmox #nix #cloudron #yunohost
  • Is NixOS a good first distro?

    Uncategorized nixos nix linux
    3
    0 Votes
    3 Posts
    2 Views
    monkeyninja@10base2.devM
    @fargate @plutarch Absolutely, everyone is going to come into a situation with different skills, different experiences, different goals, etc. so that definitely would shape the outcome. I know though that when I was still futzing with it and was perusing help posts online that I definitely was not alone in having stability problems but I also was still in the learning phase and likely created some of those stability problems by doing something NixOS in particular didn’t like.
  • 0 Votes
    1 Posts
    0 Views
    katexochen@infosec.exchangeK
    The Nix sandbox aims to provide a pure environment by isolating the build environment from the rest of the system. However, some impurities can still affect builds inside the sandbox and lead to reproducibility issues. One of them is the filesystem.A common example is builds that implicitly depend on inode numbering or directory entry ordering. In some cases, you might even run into a filesystem bug: a build succeeds on one machine, but fails on another with a different filesystem.To debug these issues, you can now use nix-buildon. It lets you swap out the filesystem underneath the Nix sandbox. By running the sandbox on disorderfs, you can get a deterministic, sorted, or reverse-sorted view of directory entries. This makes it easy to check whether a build depends on filesystem behavior that should not matter in the first place.https://github.com/katexochen/nix-buildonI created this at #OceanSprint. #Nix #NixOS #ReproducibleBuilds