The code will be written in Python, because that language comes with GUI toolkits.
I have mixed experiences with GTK (especially since I had several times GI breaking on my Linux systems). So that one is out of question.
Before #MigratingToNixOS I used a basic setup with #PySide v2. Since Qt is available everywhere and I wanted to go Vanilla (to support the cause). Hence no #PyQt. Both broke here on #NixOS (even with Docker or Vagrant).
So I will use #tkinter.
#MigratingToNixOS #pyside #pyqt #nixos #tkinter
One thing bugged me yesterday on my journey of #MigratingToNixOS:
When installing nixui (a web interface for Nix) together with yarn, nodejs etc I received an error on nixos rebuild. Telling me that Node.js reached EOL.
But not which package was depending on it (the nodejs package points to v14 currently).
I only figured it out when I turned on verbose output.
Where do I fill an issue for this, #NixOS community?
I also discovered some macOS reports with gpg located elsewhere and learned about
git config --global gpg.program $(which gpg)
to configure it. $(which gpg) is a bashism. It evaluates to the path of the executable. Using backticks instead of $() might work, too. Or *gasp* write it out manually using tab completion.
Another puzzle I encountered on my journey to #MigratingToNixOS was git. And gpg.
I mean you sign your commits cryptographically (right? You've heard of https://blog.malwarebytes.com/hacking-2/2021/03/malicious-commits-found-in-php-code-repository-what-you-need-to-know/ last year, don't you?)
Thing is, git is expecting gpg to be located at /usr/bin/gpg.
Not with #NixOS!
This distribution follows a different organisation to achieve reproducible builds. Plus gpg2 is not aliased (if I got that right). There's a compat package for that.
1/2
Since I'm #MigratingToNixOS I figured to document some gotchas I ran into.
My biggest #anxiety so far stems from the home directory coming off empty.
In fact, there are several issues filled with #NixOS.
There, I learned that the OS is intentionally not managing home directories.
Usually, Linux distributions would copy from /etc/skel and adjust permissions.
But that pattern is disregarded here.
Looking into this #HomeManager project instead.
#MigratingToNixOS #anxiety #nixos #homemanager