Skip to main content

Questions tagged [nix]

Questions about Nix, the purely functional package manager and its usage and configuration.

0 votes
0 answers
79 views

I am trying to programmatically extract one of the generated files from a NixOS install. Basically on my NixOS system I run sudo nixos-rebuild switch and as part of the build it writes to /nix/store/&...
LambdaBeta's user avatar
1 vote
1 answer
126 views

I’m using NixOS with Docker enabled via: virtualisation.docker.enable = true; I want to declare a set of Docker images so that they are already available when I run docker images. It seems in older ...
Chris Stryczynski's user avatar
0 votes
1 answer
103 views

I use nix and home manager, zsh and tmux. My problem is that in tmux splits the nix command does not exist. I tried setting default shell in tmux to /bin/zsh -l sourcing files etc, I notice the PATH ...
Darek's user avatar
  • 541
0 votes
1 answer
82 views

I have installed a Nix package on my ubuntu os, that depends on doas, and for it to function, it's binary need's to have the suid bit set - and it isn't in the default nix-env installation. On NixOS ...
Stas Badzi's user avatar
0 votes
0 answers
44 views

I'm not 100% sure how to describe the problem, but there's this background color applied to the editor whenever Telescope, NerdTree, or CtrlP display. Incase it wasn't obvious nixos is configuring ...
Dan's user avatar
  • 111
3 votes
2 answers
3k views

My package is installed with a configuration.nix { config, pkgs, lib, ... }: { environment.systemPackages = with pkgs; [ my-package ]; } How can I query for the path of my-package in the nix ...
AlexLoss's user avatar
  • 193
0 votes
1 answer
294 views

Is there a way to always invoke the command-line option: --ignore-environment for the nix develop command, by configuration in some config file? The value of this would be to ensure that a Nix Flake ...
Neil's user avatar
  • 3,540
0 votes
1 answer
85 views

Using nix build with the flake.nix below, the build should fail since the references github repository does not exist. Yet, whenever I build the flake, while it shows ecsdsddsdse.fghfghfghfghgfh as ...
Daniel D.'s user avatar
  • 175
1 vote
1 answer
321 views

I'm setting up NixOS 24.05 and I'm using the equivalent version of Home Manager. I'm trying to move the directory for GNUPG to $HOME/.local/share/gnupg also known as $XDG_DATA_HOME/gnupg. I know that ...
Hanna's user avatar
  • 11
0 votes
1 answer
137 views

Within my nixos config I have a container defined: containers.finderdbreplica = { config = { config, pkgs, ... }: { services.postgresql = { ... services.postgresql = { ...
Chris Stryczynski's user avatar
1 vote
0 answers
92 views

I am trying to use nix package manager which is supposed to be a better than apt. As an example I tried to delete mupdf, my pdf file viewer using sudo apt-get remove --purge mupdf and install it with ...
ecjb's user avatar
  • 495
0 votes
1 answer
1k views

I just installed nix package manager on Ubuntu 22.04 LTS and I was wondered if there exist a file which lists all the packages installed with nix (in order for example to list all the packages ...
ecjb's user avatar
  • 495
0 votes
1 answer
696 views

I am trying to install KDE Plasma 5 (for compatibility reasons) on Arch Linux (installed through EndeavourOS) without using pacman, as, from what I can tell, it is already updated to Plasma 6 and ...
IS4's user avatar
  • 223
0 votes
0 answers
53 views

I have been getting into the warm waters of Nixos... One of the questions the Nixos document does not appear to address is application state. There is, of course, application configuration, which is ...
George's user avatar
  • 101
0 votes
1 answer
903 views

What is the correct way to create multiple nix profiles for one user? I want to configure them differently and switch between them automatically with tools like direnv. This is the only documentation ...
mq7's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
14