Questions tagged [nixos]
NixOS is a Nix-based Linux distribution. Thanks to Nix, 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.
360 questions
1
vote
1
answer
64
views
How can I declaratively load Docker images in NixOS avoiding the slow `docker load`?
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 ...
0
votes
0
answers
85
views
Problem with touchpad lag running Linux on X1 carbon gen 7
I bought this second hand laptop one month ago (Lenovo X1 carbon gen7) and I started installing Arch Linux on it and I noticed there was a problem with the touch pad. The touchpad works at the end but ...
1
vote
0
answers
181
views
Suspend fails because of the wifi module
When trying to suspend my laptop (HP Elitebook X G1a) with systemctl suspend or closing the lid it turns off the screen and back on again a few times before giving up.
I'm using NixOS with a 6.12.32 ...
0
votes
1
answer
60
views
Making library available in NixOS to build makefile projects
I want to install the python package wolfcrypt under a python virtual environment (venv) as a one-off test to build a bootloader using wolfBoot
As many other python packages, it requires the python ...
0
votes
0
answers
181
views
Receiving email with OpenSMTPD fails with 550 Invalid recipient
I am trying to set up a mailserver using OpenSMTPD. My configuration is:
listen on enp4s0f2
action "save" maildir "/mail/%{rcpt}"
match for rcpt-to regex ".*" action &...
1
vote
1
answer
528
views
How to remap modifier keys with keyd (ctrl, alt, super)
I've been using a slightly hacky approach with setxkbmap for some time and have a Dvorak layout, but with the modifiers changed so that they are ctrl, alt, super when working from the middle.
It's ...
0
votes
0
answers
62
views
Which MP3 tagging tool for Linux? -> For Album Folders (Alrady tried a lot)
I'm trying to sort my music by album into folders.
I have already tried:
Picard
easytag
puddletag
kid3
tageditor
eartag
beets
eyeD3
I think there's an option on puddle tag but i couldn't find it, if ...
0
votes
1
answer
114
views
My local DNS server doesn't resolve
I have a laptop that I'm working on, a FreshTomato-based router, and a Raspberry Pi running NixOS, on which I have installed Blocky to try to use it as my DNS server.
However, requests from my laptop ...
3
votes
2
answers
2k
views
How to get the path of installed package in the nix store?
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 ...
0
votes
0
answers
66
views
USB Ports Not Working on Lenovo ThinkPad E14 Across Multiple Linux Distributions
Any help would be deeeeeeply appreciated. I've dealt with this for 3-4 years now and I'm finally wanting to fix this once and for all.
System info:
Device: Lenovo Thinkpad E14 Gen 2
Linux Kernel: 6....
1
vote
1
answer
60
views
File 'darkmode.sty' not found, emergency stop
Description
When using vimtex to compile my document, I get the error:
File `darkmode.sty' not found.
error| Emergency stop.
error| Fatal error occurred, no output PDF file produced!
This error is ...
0
votes
1
answer
289
views
NixOS cannot connect to dual-band mesh home wifi
My laptop running NixOs 24.11 with an Intel(R) Wi-Fi 6E AX211 160MHz adapter cannot connect to my home network using wifi (ethernet is working). Instead of the proper SSIDs showing up (either 2.4G or ...
0
votes
0
answers
42
views
Chronic USB MIDI Controller Connectivity Inconsistency
I have a strange issue (which may in fact be a hardware issue, but I will get to that), where my MIDI controller (Hammer 88 keyboard) periodically cuts out with the following dmesg output:
[ 268....
1
vote
1
answer
675
views
Running sudo from a systemd service
Hi I'm running a script using a self hosted github action runner but when I try to run a sudo command I get the error:
sudo: The "no new privileges" flag is set, which prevents sudo from ...
0
votes
3
answers
300
views
Audio device profile is changed by different applications
Since recently I have a issue where starting an application that needs access to my microphone changes my audio profile set up in pavucontrol from "Pro Audio" to something else.
This ...