Yes! That’s the correct way to write this, thank you! 😊
And it’s already set inside /etc/nixos/hardware-configuration.nix
after installing inside a VM.
I had an additional layer 8 problem - clipboard sharing doesn’t work until it’s enabled in the VirtualBox host , too 🙃
That sounds like something I should try, too.
Currently I’m using Linux Mint and I also have a dotfiles repo, so that sounds quite similar to your case.