Nix / NixOS

2564 readers
3 users here now

Main links

Videos

founded 2 years ago
MODERATORS
201
1
submitted 2 years ago* (last edited 2 years ago) by shortwavesurfer@monero.town to c/nix@programming.dev
 
 

So i followed the instructions to install virtualbox and added myself to the vboxusers group, but i cant run VMs as a standard user. The GUI message says "VirtualBox kernel driver is not accessible, permission problem" the VM log says "ERROR [COM]: aRC=E ACCESSDENIED (0x80070005) aText={The console is not powered up}"

Someone on mastodon mentioned /dev/vboxdrv and that file is "crw-rw---- root vboxusers". There is also a file /dev/vboxdrvu which is "crw-rw-rw- root root" but changing that to root vboxusers with chown didnt work.

I can run VMs as root just fine. Any thoughts?

Edit: new to NixOS and really enjoying it so far

Edit 2: SOLVED: I had "virtualbox" as a package under "envoronment.systemPackages = with pkgs; [" and wasnt supposed too.

202
203
204
205
 
 

Hi all, looking for tutorials online is cool and all, but sometimes you just wanna sit down and read a physical book to understand something. So I was looking for suggestions on which books helped you the most, or which you've heard positive things about. Thanks!

206
 
 

I agree that dockerfile's are not very reproducible. But honestly, that's not how most people use it. I believe most people just pull the already built image which is very reproducible. Anyways, I found this video interesting and thought I'd share it and get your guys thoughts.

207
 
 

Anyone know why my dualsense controller won't show up in Bluetooth discovery? Have confirmed it shows up and pairs on my phone and used to show up on my windows machine before I switched

  • It is only on NixOS this seems to happen, both my laptop and PC do this.

  • Yes I have put it into pairing mode, it shows up in discovery on my phone

  • The controller works perfectly when wired

  • Every other Bluetooth device works with no issues

I feel like I'm missing a driver or something but no idea what, can anyone help?

208
209
 
 
210
 
 

I was looking into the prospect of deploying an instance of Lemmy myself. Being an ULTRA nix fanboi (and a Docker-hater), I was immediately struck by how much the process still depends on (and, IMO, is being held hostage by) Docker containers.

Can we (or at least someone more capable and with more free time than I) help the Lemmy community by harnessing the power of nix and flakes to create declarative, reproducible Lemmy scratch-built instance deployment?

I suspect it would be exceptionally easy for some of you out there. If you are a flakes power-user, just think of how much this could help the community (and perhaps awaken a few people to the power of flakes).

ps. if this already exists, please point me in the right direction.