| 8 Dec 2025 |
raitobezarius | This is the remote builder system, right? Not the local system? Because you have clearly nixremote listed there so I am confused as to how you can get that error | 11:38:29 |
Rutile (Commentator2.0) feel free to ping | i think i actually had that error too somewhen, but fixed it by just making the user trusted, which works in my case but very much shouldn't be the solution cc piegames | 11:41:04 |
crop | yes i only have that user on the remote system. | 11:50:02 |
crop | which user? and making it trusted by a setting that is not just changing the nix.conf to something like trusted-users = root nixremote ? | 11:51:27 |
raitobezarius | it's already listed trusted user | 11:52:05 |
crop | this is the error on the client side:
this derivation will be built:
/nix/store/73mm7rw8wcl5sm306sxxrflcs8rxcgha-foo.drv
building '/nix/store/73mm7rw8wcl5sm306sxxrflcs8rxcgha-foo.drv' on 'ssh://nixremote@silent'...
error: cannot open connection to remote store 'daemon': error: reading from file: Connection reset by peer
error: unexpected end-of-file
| 11:53:16 |
crop | i found the problem the nixremote user was in the nixbld group ... and somehow this broke stuff ... i am currious why this is the case. | 11:58:03 |
zitrone | i added a comment to the relevant issue in the lix bugtracker | 11:59:26 |
zitrone | * i added a comment to the relevant issue in the lix bugtracker | 12:00:17 |
aloisw | Ah right this is builder chown, I confused it with the one after failed builds. I think your analysis is correct and indeed that's another failure mode of auto-allocate-uids. | 12:06:26 |
raitobezarius | oh that's very VERY spicy | 12:55:38 |
raitobezarius | can you open an issue with that? | 12:55:43 |
Aijokey | what does `# /etc/systemd/system/nix-daemon.service
[Unit]
Description=Nix Daemon
Documentation=man:nix-daemon https://docs.lix.systems/manual/lix/stable
RequiresMountsFor=/nix/store
RequiresMountsFor=/nix/var
RequiresMountsFor=/nix/var/nix/db
ConditionPathIsReadWrite=/nix/var/nix/daemon-socket
[Service]
ExecStart=@/nix/store/xm1wr0cf6kpcdfwpi0arknlr5iljy751-lix-2.91.3/bin/nix-daemon nix-daemon --daem>
KillMode=process
LimitNOFILE=1048576
TasksMax=1048576
[Install]
WantedBy=multi-user.target
# /nix/store/8vy438q5bss25g7rfp2d523jlrhf3a3l-system-units/nix-daemon.service.d/overrides.conf
[Unit]
RequiresMountsFor=/nix/store
X-Restart-Triggers=/nix/store/mibs0601bwifchsgvlpnj6wnz01fnjf5-X-Restart-Triggers-nix-daemon
[Service]
Environment="CURL_CA_BUNDLE=/nix/store/pxg9a4a39ms2312i2k2wx1hvigid718d-nss-cacert-3.111/etc/ssl/c>
Environment="LOCALE_ARCHIVE=/nix/store/fkl44anqjswxsp6jpmb229jqz79r7d4g-glibc-locales-2.40-66/lib/>
Environment="PATH=/nix/store/xm1wr0cf6kpcdfwpi0arknlr5iljy751-lix-2.91.3/bin:/nix/store/m10ngkbjxb>
Environment="TZDIR=/nix/store/g9fkd8j29j0dmln6xinp3mk7qcpwfizz-tzdata-2025b/share/zoneinfo"
X-StopIfChanged=false
CPUSchedulingPolicy=other
Delegate=yes
IOSchedulingClass=best-effort
IOSchedulingPriority=4
LimitNOFILE=1048576
systemctl cat nix-daemon` show? | 14:47:37 |
raitobezarius | you have a large enough open files limit but you are running a very old lix which is not supported anymore, i think you should try to update your system via NIX_REMOTE=local to latest stable | 14:48:45 |
Aijokey | https://github.com/Aijokey/nix_configs/blob/main/configuration.nix | 14:50:15 |
raitobezarius | perhaps, your channel is old? | 14:50:49 |
raitobezarius | you seem to be using a 24.11 or 25.05 channel I'd say | 14:50:56 |
hexa | it's 25.05 | 14:50:58 |
Aijokey | Redacted or Malformed Event | 14:51:27 |
Aijokey | ❯ sudo nix-channel --list
[sudo] password for aijokey:
nixos https://channels.nixos.org/nixos-25.11
nixos-unstable https://nixos.org/channels/nixos-unstable | 14:51:53 |
raitobezarius | did you run nix-channel --update ? | 14:52:15 |
hexa | in nixos-25.11 lixPackages.stable.lix is 2.93.3 | 14:52:29 |
Aijokey | yes | 14:52:46 |
raitobezarius | so i guess all that's left is to run NIX_REMOTE=local nixos-rebuild switch now | 14:53:02 |
Aijokey | ❯ NIX_REMOTE=local nixos-rebuild switch now
/run/current-system/sw/bin/nixos-rebuild: unknown option now | 14:54:16 |
Aijokey | ? | 14:54:18 |
raitobezarius | remove the now | 14:54:26 |
Aijokey | waiting for lock on '/nix/store/v1flrsxkmbb3darbh3qassma3if4yn83-app.cash.sqldelight.gradle.plugin-2.1.0.pom'...
waiting for lock on '/nix/store/7m50sgfypkh0as0b5r1d89nnwpcykdq2-app.cash.licensee.gradle.plugin-1.13.0.pom'...
| 14:56:27 |
Aijokey | I have lock that not fixing by reloading | 14:56:47 |
raitobezarius | ah so you have a lock that stuck | 14:57:03 |