I’ve just began starting to set up ssh for the first time on NixOS (SSH NixOS Guide).
I made these changes to my configuration.nix (see screenshot provided):
I got this configuration error:
activating the configuration...
setting up /etc...
restarting systemd...
reloading user units for parkerh...
restarting sysinit-reactivation.target
reloading the following units: dbus.service, firewall.service
restarting the following units: polkit.service
starting the following units: accounts-daemon.service, systemd-tmpfiles-resetup.service
the following new units were started: NetworkManager-dispatcher.service, sshd-unix-local.socket, sshd.service
warning: the following units failed: flatpak-repo.service
× flatpak-repo.service
Loaded: loaded (/etc/systemd/system/flatpak-repo.service; enabled; preset: ignored)
Active: failed (Result: exit-code) since Mon 2025-11-10 00:20:34 CST; 206ms ago
Duration: 630ms
Invocation: 9e5c87c7caa3496eab356d327f7577b9
Process: 107469 ExecStart=/nix/store/6f4by2yl2rpv42zfqa1dz1gic89kgwk3-unit-script-flatpak-repo-start/bin/flatpak-repo-start (code=exited, status=1/FAILURE)
Main PID: 107469 (code=exited, status=1/FAILURE)
IP: 5K in, 1.7K out
IO: 0B read, 0B written
Mem peak: 5.8M
CPU: 41ms
Nov 10 00:20:33 nixos systemd[1]: Started flatpak-repo.service.
Nov 10 00:20:34 nixos flatpak-repo-start[107474]: error: Can't load uri https://flathub.org/repo/flathub.flatpakrepo: Server returned status 404
Nov 10 00:20:34 nixos systemd[1]: flatpak-repo.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 00:20:34 nixos systemd[1]: flatpak-repo.service: Failed with result 'exit-code'.
Nov 10 00:20:34 nixos systemd[1]: flatpak-repo.service: Consumed 41ms CPU time, 5.8M memory peak, 4.8K incoming IP traffic, 1.7K outgoing IP traffic.
warning: error(s) occurred while switching to the new configuration
Help would be GREATLY appreciated
God bless ✞
