Questions tagged [nixos]

NixOS is a Nix-based Linux distribution.

NixOS is a Linux distribution based on Nix, a functional programming language. It supports atomic upgrades, rollbacks and multi-user package management, and it has a declarative approach to system configuration management that makes it easy to reproduce a configuration on another machine.

Home page: https://nixos.org/

505 questions
0
votes
1 answer

How to add linux config in configuration.nix

I currently have this in my nixpkgs.config packageOverrides = pkgs: rec { netbeans81 = pkgs.stdenv.lib.overrideDerivation pkgs.netbeans ( oldAttrs: { name = "netbeans-8.1"; src = pkgs.fetchurl { url =…
John Mercier
  • 1,637
  • 3
  • 20
  • 44
0
votes
1 answer

glpk and pcre not found (NIXOS)

I am trying to build my own nix-shell environment in my NixOS. I have 2 .nix file, default.nix and shell.nix, here's the configuration: default.nix: { stdenv, haskellngPackages}: let env = haskellngPackages (p: with p; [ aeson …
Rizary
  • 123
  • 1
  • 7
0
votes
1 answer

Using unshare and still executing original function

I am trying to generalize and make a shell script out of the instructions on this page, specifically here: https://nixos.org/wiki/How_to_add_files_to_the_nix-store#Large_files because of Nix's failure to handle a 4.5 GB file, I get out of memory…
user1971598
0
votes
2 answers

Channels in NixOS with VirtualBox

nix-channel --list gives no output in my fresh NixOS installation. I used a VirtualBox appliance from https://nixos.org/nixos/download.html. Do I need to subscribe to a channel? Why aren't there any channels visible in the VirtualBox…
somesoaccount
  • 1,267
  • 15
  • 37
0
votes
2 answers

If for a package a distribution exists for NixOS, then is it possible to (easily) install that package to Ubuntu using Nix, if yes how?

Here is this Haskell package. For this package there is a distribution for NixOS. If such a distribution for NixOS exists then is it easy to install the same package to Ubuntu on which the Nix package manager is installed ? If yes, how ? If not,…
jhegedus
  • 20,244
  • 16
  • 99
  • 167
0
votes
2 answers

How to enable php in NixOs

I'm trying to setup an LAMP environment with NixOs. I managed to have mysql and apache running, but I can't find a way to enable php. At the moment, apache is serving php file as text instead of executing it. I've seen there is a enablePHP option…
mb14
  • 22,276
  • 7
  • 60
  • 102
0
votes
1 answer

cause of pulseaudio file collisions in "nixos-rebuild switch"?

when I run nixos-rebuild switch, I get a bunch of messages about file collisions, for example collision between `/nix/store/ngxigb4f3h819wslwfpg7gjb236911fg-pulseaudio-5.0/share/man/man1/pacmd.1.gz' and…
ajp
  • 1,723
  • 14
  • 22
0
votes
2 answers

Synaptics Touch Pad disables after login

I'm on KDE using plasma5 on NixOS, and for some reason my touch pad is disabling after logging in with KDM. Here is the output of synclient -l right after booting. What would cause this issue? Any guidance would be very much appreciated.
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
0
votes
1 answer

Plasma-nm in NixOS

I'm having some trouble finding plasma-nm in nixpkgs. I can see here that the package exists, and is even registered in all-packages.nix... so why doesn't nix-env -qa list it as a derivation? I'm sorry if there is an obvious answer to this.
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
0
votes
1 answer

Git clone through https dies of signal 13

The https module for git is dying from a signal 13, and I'm not really sure how to diagnose it. Here is what I am getting: $> git clone https://github.com/nixos/nixpkgs Cloning into 'nixpkgs'... ... Checking connectivity... done. error:…
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
-1
votes
0 answers

Bluetooth A2DP Sink not showing up in Pulseaudio on NixOS

I am setting up a workstation with nixos, was all good so far and I can connect to my bluetooth headset (sony wh 1000 mx 5). But when I do, I dont get the output sink in pulseaudio. Here are some logs and my nixos configuration snippet. I did try…
-1
votes
0 answers

How to convert ogg or mp3 file in wav without using ffmpeg

I have problems with installing ffmpeg and ffprobe that's why I am looking for ways to avoid them I have tried to ask neurolinks and even looked in Internet, but it is might to be impossible to install ffmpeg on that os that i have (nix os). So, i…
-1
votes
1 answer

what is ${modulesPath} is configuration.nix

In /etc/nixos/configuration.nix, I have this code { lib, pkgs, config, modulesPath, ... }: with lib; let nixos-wsl = import ./nixos-wsl; in { imports = [ "${modulesPath}/profiles/minimal.nix" nixos-wsl.nixosModules.wsl ]; I would…
-1
votes
1 answer

disable bash in nixos

I have disabled sudo by adding security.sudo.enable = false But is their any way to remove/disable bash and would this effect any progrs that depend on bash? Also does the line I have in my config uninstall sudo or just disable it?
whatever
  • 133
  • 1
  • 10
-1
votes
1 answer

How to install diesel-cli with sqlite support under NixOS and cargo?

When i try to install the diesel-cli with cargo install diesel_cli --no-default-features --features sqlite under NixOS, i get error: linking with `cc` failed: exit status: 1 ... = note:…
manews
  • 340
  • 2
  • 12
1 2 3
33
34