Questions tagged [nixos]
47 questions
13
votes
1 answer
How to update every package on NixOS?
Finally figured out how to set up my systems a couple months ago, and have been using them happily ever since, but realized that it's time to update stuff. My NixOS setup involves declarative package management using Home Manager, but completely…
toraritte
- 558
- 1
- 6
- 20
9
votes
1 answer
How do you declare a bind mount in NixOS?
I'm trying to declare a bind mount in my NixOS configuration. I'm trying the configuration snippet below, but it sends the OS into recovery mode when I test it out (using nixos-rebuild test). To be clear, I'd like /data to be reachable at /srv/nfs…
kevlar1818
- 469
- 5
- 14
4
votes
1 answer
nix-copy-closure "command not found" error
I'm trying to copy a Nix closure to my server, using
nix-copy-closure [email protected] /nix/store/somelonghash-programname
but I get
bash: nix-store: command not found
error: cannot connect to '[email protected]'
When I login to the server with ssh…
8n8
- 171
- 4
3
votes
0 answers
wlp2s0 with wpa_supplicant under NixOS
I have a NixOS system (nixos https://nixos.org/channels/nixos-18.03). Using wpa_supplicant, I can't get my wireless card to connect to my home network (WPA2).
It's using the new Systemd Predictable Network Interface Names scheme (wlp2s0 replaces…
Nutritioustim
- 151
- 9
3
votes
2 answers
User can't see shared folder in VirtualBox guest even though she's in vboxsf group
I'm using Virtualbox. I have a NixOS guest on a Windows host. I added the user to the vboxsf group and rebooted the machine.
$ groups …
mhwombat
- 83
- 7
3
votes
0 answers
systemd-nspawn DeviceAllow not working
Distro: NixOS 17
I have an nspawn "machine" in "/var/lib/machines/ubuntu1" containing an fs-root
I have a systemd unit "[email protected]" containing
[Service]
DeviceAllow=char-alsa rwm
DeviceAllow=/dev/net/tun rwm
DeviceAllow=char-pts…
Meizikyn
- 31
- 2
3
votes
1 answer
NixOS how to see outdated system packages
On NixOS, is there any way to query for outdated system packages?
I know I can query this with nix-env for user-installed packages but I can't seem to find a way to know beforehand what will be updated when I run a nixos-rebuild switch…
Ozymandias
- 203
- 3
- 8
3
votes
1 answer
Installing Parallels Tools on NixOS
How to declaratively install Parallels Tools on NixOS which is running as a guest in Parallels for Mac?
Sridhar Ratnakumar
- 4,759
- 10
- 43
- 56
2
votes
2 answers
What's the laziest way of creating a Linux ISO?
I have extremely limited knowledge on all and everything surrounding Linux and Distributions. I wanted to and have created an Arch Linux install that is for writing text only. It boots up, lets me login, all black screen, white text, done. Save any…
Deven
- 141
- 4
2
votes
1 answer
'v4l2' is not a suitable output format - why does this error appear?
I have created following script I've been using on Arch Linux to stream the camera feed to OBS
#!/usr/bin/env bash
set -euo pipefail
sudo modprobe v4l2loopback exclusive_caps=1 max_buffer=2
gphoto2 \
--stdout \
--set-config viewfinder=1…
s1n7ax
- 182
- 9
2
votes
1 answer
What is the INSTALLED_PKGNAME required by nix to set priority
I am attempting to upgrade npm in nix package manager running on arch linux.
I attempt an upgrade with the following command:
nix-env -iA nixpkgs.nodePackages.npm
I get the following error:
error: packages…
tjb
- 179
- 10
2
votes
1 answer
How to configure firefox to use adobe flash on nixos
I am trying to configure nixos' firefox to use adobe flash.
I am well aware of the issues of adobe flash; I "need" it (on one specific host) because of school games played by my son.
It is clear that nixos' firefox is intended to be able to use…
user3416536
- 131
- 1
2
votes
1 answer
Encrypted ZFS dataset fails to mount: Permission denied
I'm on NixOS and try to encrypt a hard drive partition (potentially more in the future) using ZFS. I tried to stick to this guide, so I added
boot.zfs = {
enableUnstable = true;
requestEncryptionCredentials = true;
};
boot.supportedFilesystems =…
Gecku
- 43
- 1
- 5
2
votes
1 answer
NixOS & NixOps declarative group management and services
Is it possible to manage groups in a declarative way in NixOS and NixOps?
I would like to be able to create a new group in a configuration.nix, and add users to it. I have not been able to find any options available to do this, and am having issues…
8bit.wappen
- 23
- 1
- 4
1
vote
2 answers
Brave browser not updated in Nix package manager
I'm very new to nixOS so excuse what might be an easily resolved issue. The brave browser package in the nix package manager is not the most recent. Is this normal?
siggy47
- 11
- 1