Need feedback for custom module

Hi there,

I’m not really sure this is the right category, but my guess is as good as yours.

Disclaimer : this is a cross-post from the NixOS subreddit.


I wrote a small Nix module for my laptop configuration, and would like to share it with the community.

The module is pretty simple as it does one thing only : change the Gnome desktop background to a random image from Google Earth View.

It serves me well, but as stated in the readme I’m quite new to Nix, so I would love to get some feedback from more experienced folks !

I do think it would be better to expose the module as a flake, but am I right to think so ? Is it ok that the module is quite extensively using Bash scripting ?

Feel free to share your improvements ideas, point anything wrong with the module, … I’m eager to learn more about working with Nix !