ME: hm I should make one (1) change to my programmable keyboard.
30 MINUTES LATER: well, my random weird devicemapper issue went away after uninstalling/reinstalling docker and rebooting a few times, but now docker seems to require root, when it didn't before? wtf
Computers may have been a mistake. (Also, it's amazing how far my desire to tinker with my #NixOS setup has plummeted now that the community is splintering.)
So if you are curious about how to package for #NixOs perhaps there is also a project you'd love to contribute to and have in Nix. This is your chance to learn and work with other folks.
:owi: Lix, a community run fork of CppNix and an implementation of the Nix language
➥ @lix_project
「 Lix is developed by a diverse group of users – and accordingly is committed to providing a space that’s safe for users and developers typically underrepresented in technical projects. We take moderation seriously, and are committed to preventing bad actors from driving out marginalized groups 」
I don't actually have time today to work on any side projects, but I thought I'd run through the basic setup steps for MonoGame aaaand
./bin/Debug/net6.0/MyGame
bash: ./bin/Debug/net6.0/MyGame: cannot execute: required file not found
... which required file ._. ???
I think this sort of thing means it tried to dynamically link something and failed. I run into this whenever I try to run loose builds of Linux games on #NixOS, but idk what to do about it.
I'm still stumped on how to get #MonoGame working on #NixOS, but thankfully I have another computer with a real operating system on it, so please enjoy this overwrought Hello World I made using MonoGame tonight:
I've made some progress on getting #MonoGame running on the hell distro! The surprise exit-without-error was a segfault (thanks strace!), which apparently was because #NixOS cleverly hid away udev, which is famously an optional component in all modern Linux distros. Now with that fixed, it simply cannot OpenGL:
"Unhandled exception. Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!"
(fails somewhere in MonoGame.OpenGL.GL.LoadExtensions)
I think I have finally™️ (for the third or so time) found myself a solution for :python: #Python development on :nixos: #NixOS that allows me to just work with #pythonPoetry et. al. as on other distros.
The solution is to pre-build an FHSUserEnv in your configuration.nix, e.g. like this¹.
When starting Python dev work, I now execute fhs (it's fast!), or directly fhs -c 'poetry shell' and everything works as expected, including #PyPI wheels etc.
If you are testing all the experimental features, you also need to create PRs from time to time. https://github.com/NixOS/hydra/pull/1377 fixes .doi resolution in hydra on the latest version.
Today I learned: #nix-infect, to transform a vm from another distribution into #NixOS, mostly for cloud providers that don't offer this option! (Including #DigitalOcean and #hetzner). I am going to use it! :)
The newest project is finally ready for its public debut! Inspired by a tool on #Kali for XFCE desktops, Nix-Incognito was developed to provide a similar mechanism for masking a user's GNOME desktop to better blend in with surrounding #windows PC's during #redteam engagements!
Although it's meant for use on #NixOS systems, it can easily be compiled and ran on any device running #GNOME. Support for other DE's is in the works! 🙌 🤘 😎 #rustlang#cli#programming
I absolutely love the fact that a #NixOS rollback takes me from 0 to a fully functional and completely configured machine in less than 20 minutes. It is still unbelievable after all this time
And a 3rd one, Monday 13th of May, at BeCentral this time! There will be again pizzas 🍕 paid by the #NixOS foundation (with Vegan options), and I will bring my X230 (on which I installed #Guix last weekend) for a little demo :D