Questions tagged [nixos]
NixOS is a Linux distribution that uses the Nix package manager.
29 questions
0
votes
1
answer
91
views
How to get Calico CNI working if I already removed CNI (flannel)
I am trying to familiarize myself with Kubernetes internals so I started with a simple 1-node setup through nixos's roles. It, by default, installs flannel CNI plugin.
The thing I wanted to do is
...
0
votes
0
answers
496
views
Nixos: Appending to /etc/bashrc
Is there a way to extend the basic /etc/bashrc of nixos?
Without really knowing too much about nixos yet, I was trying this
programs.bash = {
loginShellInit = ''
if [[ "$TERM" == "...
1
vote
1
answer
165
views
Can create and modify but not delete files on Time Machine SMB Share backed by SSHFS
I am using NixOS 24.11 and the path of the SMB share is an SSHFS mount point.
The following configuration works, I can connect, create, modify, and delete files, but the share does not appear as a ...
0
votes
1
answer
1k
views
Nginx serves all file types as MIME type: "text/html on NixOS
I'm attempting to get an open-source webapp called pterodactyl (which is primarily php-fpm) running under Nginx however all files (except json files) are being served with the MIME type "text/...
0
votes
1
answer
207
views
Why can I connect to the docker daemon with sudo, but not root?
Consider the following sequence of commands. When I try to connect to the docker daemon as a regular user, or root, I can't. When I use sudo (both as a regular user and root) I can. Why is this?
[john@...
0
votes
1
answer
330
views
Difficulty setting up a cross-system docker network in NixOS
I've got a collection of docker services that run across multiple servers in a local physical stack. For reasons, I'm trying to keep the exposed ports as minimal and secured as possible (using ...
1
vote
1
answer
1k
views
Can't connect to UDP service running in k3s and exposed via nodePort
I am trying to expose a UDP service (tftp) through a k3s nodePort but can't seem to connect. The TCP service work fine, but the UDP service doesn't seem to be exposed.
The deployment lists the ports:
....
0
votes
1
answer
204
views
Linux server stops responding, no video output
I built a Linux server out of commodity hardware and every now and then it stops responding. I can't ssh in, my docker jobs don't respond, and when I plug in a monitor there is no video output until I ...
1
vote
2
answers
783
views
NixOS - Let's Encrypt certificate is not recognized by Traefik (works in Nginx)
I am trying to run a demo Node.js app on a subdomain using Traefik reverse proxy. I am generating the wildcard Let's Encrypt certificate with the security.acme option. When I import the certificate in ...
0
votes
1
answer
447
views
Start a nix-shell with only the current directory mounted (similar to a container)
I am looking for a way to launch a shell with specific packages installed within, but no unnecessary access to the rest of the system, i.e:
Only the current directory (pwd) mounted, no access to ...
1
vote
2
answers
972
views
Systemd doesn't seem to respect After= dependency?
I have a PostgreSQL server (postgresql.service) and a basic shell script (mobilizon-postgresql.service that is run to provide some assertions on the database to a third service (Mobilizon).
So ...
0
votes
1
answer
323
views
Migration from Nixops 1.7 to 2.0 and <deployment>.nix to nixops.nix
I try to migrate my nixops from version 1.7 to nixops_unstable 2.0.0-pre-7220cbd. After installing nixops_unstable I cannot work with the nixops command anymore:
$ nixops deploy -d streaming
Traceback ...
0
votes
1
answer
279
views
NixOS starting a daemon process example - is the example broken?
In the python flask example application given on https://nixos.org/guides/dev-environment.html ... Isn't it just killing the daemon process whether it passes the health check or not? Maybe there's ...
3
votes
1
answer
1k
views
Why are Nix programs not able to resolve mDNS names when native programs are?
My native programs (on Fedora) are able to resolve mDNS / Avahi / zeroconf names, like so:
$ ping felonyspork.local -c 1
PING felonyspork.local (192.168.88.169) 56(84) bytes of data.
64 bytes from ...
-1
votes
1
answer
224
views
Linux confused by identical mounts on different disks after attaching disk
We are having a weird problem when attaching an EBS volume to a running Linux (NixOS in this case) instance (for the purpose of growing the file system on that attached volume; on it is the NixOS root ...