this post was submitted on 14 Apr 2024
4 points (100.0% liked)
NixOS
232 readers
1 users here now
NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.
This community discusses NixOS, Nix, and everything related.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you very much!
nix.settings.extra-experimental-features = [ “nix-command” “flakes” ];
seems to actually work in my setup.
And it's nice to know that I can make do with one
--extra-experimental-features
argument for several features at once.May I be so bold as to ask a follow-up question that doesn't have much to do with this one?
What do I have to do to get Virtualbox Guest Additions to work on NixOS? Not having a shared clipboard is driving me crazy ;-)
Once again everything I found on the internet leads to errors during
sudo nixos rebuild
. I hope it's just another case of knowing the correct names for the actual packages or options to use.Can someone help me here?
Looking at the configuration options I think you want this line in
configuration.nix
: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 🙃