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
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.generatorsreasons are hereMaybe 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