Finally a half-decent CUDA solution on NixOS
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLA
    lavafroth
    2mo ago 100%

    Ha! yes. The buildFHSEnv function works by creating a separate namespace akin to Docker containers but without complete separation from the host system (I hint to this in my post). It then hosts the libraries in /nix/store into this namespace.

    3
  • https://lavafroth.is-a.dev/post/cuda-on-nixos-without-sacrificing-ones-sanity/

    I had been struggling for a while to get CUDA on my main NixOS box for some ML programming. It seems there weren't any clear solutions in the NixOS forums, which just suggested suffering through painful build times. Here's my hacky, less Nix-y approach that takes ~5 minutes.

    23
    4
    Just Switch Over
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLA
    lavafroth
    2mo ago 100%

    Great! I tend to avoid DRM'd games by buying from GOG. Don't use their launcher, lutris tends to have auto install scripts for games.

    14
  • Confused about Podman
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLA
    lavafroth
    2mo ago 100%

    Not related to containers but I've had quite a lot of success using NixOS as the host OS. Setting up services like jellyfin is as simple as adding services.jellyfin.enable = true; to the config file.

    2
  • - DE: Cosmic Epoch - Widgets: Aylur's GTK Shell (ags) - OS: NixOS 24.05 - Wallpaper: [Cyberware Mods Menu](https://www.pcgamesn.com/wp-content/uploads/2020/06/cyberpunk-2077-cyberware-menu-768x432.jpg) edited to remove the in game UI. - Dotfiles: [GitHub](https://github.com/lavafroth/dotfiles)

    54
    3