-
Notifications
You must be signed in to change notification settings - Fork 13
Description
In NixOS /etc/systemd/system is a symbolic link to a /nix/store/* (which changes when rebuilding) and each nix store is read-only.
The only-way to do it is via systemd.generators reasons are here
Maybe you can provide the info how to install on NixOS?
[root@nixos:~]# curl -sfL https://get.kubesolo.io | sudo sh -
🔍 Detected glibc system - will download standard binary
🔍 Detected init system: systemd
🔍 Detected environment: standard
🔍 Checking for Docker prerequisite conflicts...
✅ No Docker installation detected
🔍 Checking hostname RFC 1123 compliance...
✅ Hostname 'nixos' is RFC 1123 compliant
🔍 Checking iptables xt_comment module support...
✅ iptables with xt_comment module support verified
🔄 Installing kubesolo v0.1.7-beta for systemd init system...
📥 Downloading kubesolo v0.1.7-beta...
📦 Extracting kubesolo...
📝 Installing binary...
mv: cannot move '/root/tmp.zk7WQFpA36/kubesolo' to '/usr/local/bin/kubesolo': No such file or directory
❌ Error: Failed to move binary to /usr/local/bin/kubesolo
[root@nixos:~]# mkdir -p /usr/local/bin/
[root@nixos:~]# curl -sfL https://get.kubesolo.io | sudo sh -
🔍 Detected glibc system - will download standard binary
🔍 Detected init system: systemd
🔍 Detected environment: standard
🔍 Checking for Docker prerequisite conflicts...
✅ No Docker installation detected
🔍 Checking hostname RFC 1123 compliance...
✅ Hostname 'nixos' is RFC 1123 compliant
🔍 Checking iptables xt_comment module support...
✅ iptables with xt_comment module support verified
🔄 Installing kubesolo v0.1.7-beta for systemd init system...
📥 Downloading kubesolo v0.1.7-beta...
📦 Extracting kubesolo...
📝 Installing binary...
📝 Setting up kubesolo service...
main: line 338: /etc/systemd/system/kubesolo.service: Read-only file system
❌ Error: Failed to create systemd service file