DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.26k stars 57 forks source link

Synology NAS is not supported: Action `create_group` errored #585

Open starsep opened 1 year ago

starsep commented 1 year ago

On Synology NAS:

Hoverbear commented 1 year ago

Thanks! Looks like we'll need to add support.

Hoverbear commented 1 year ago

Are you aware of any test VMs I might be able to use? Alternatively, what's the command to create a user? I only see how to add a user to a group.

starsep commented 1 year ago

I am not aware of any Synology NAS VM.

User can be added using synouser {--add} username passwd full name expired email app privilege image image https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_Administration_CLI_Guide.pdf

adam-gaia commented 3 months ago

Hello, I have a synology nas and wanted to install nix. I spent most of the day intending to try and create a PR adding support for synology to this installer. I was able to install nix, but patching the DetSys installer wasn't enough; some manual steps were required.

I've written detailed instructions in the readme on the main branch of my fork for anyone who wants to replicate.

Here's a summary of what I've learned:

I've left my patches to the DetSys installer on the initial-pr branch of my fork, but I don't think it's worth opening a PR because of the manual steps needed. Thoughts?