system-manager icon indicating copy to clipboard operation
system-manager copied to clipboard

Arch Support

Open mike-lloyd03 opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. I'd love to contribute to support for ArchLinux. What would it take for me to implement this?

Describe the solution you'd like ArchLinux support for /etc files and systemd services (both system level and user level)

Describe alternatives you've considered NixOS itself. I tried to love it but couldn't make it happen.

Additional context It looks like NixOS and Ubuntu are only supported right now. I'd like to contribute to this project to get Arch as a fully supported distro. What would I need to do to add this? Where should I start?

mike-lloyd03 avatar Apr 20 '24 05:04 mike-lloyd03

Ah I was just getting started on implementing this and discovered system-manager.allowAnyDistro. Looks like that did the trick for now.

mike-lloyd03 avatar Apr 20 '24 05:04 mike-lloyd03

Ah I was just getting started on implementing this and discovered system-manager.allowAnyDistro. Looks like that did the trick for now.

Hi, I wanted to implement support for KaOS. Can you tell me, how you use system-manager.allowAnyDistro instead?

ShalokShalom avatar Apr 21 '24 21:04 ShalokShalom

Set it to true to remove the distro check, which will let you run system-manager on any distro. This is untested though, so use at your own risk.

r-vdp avatar Apr 21 '24 22:04 r-vdp

I didnt know how and where. Found it:

    system-manager = {
      allowAnyDistro = true;
    };

In my default.nix. I ran into pretty much the same issues as this guy did.

Hope I can improve the documentation in the next days.

ShalokShalom avatar Apr 22 '24 00:04 ShalokShalom

Make sure it works and write tests so it doesn't break silently.

r-vdp avatar Apr 22 '24 07:04 r-vdp

@mike-lloyd03 any news on this?

D3vil0p3r avatar Feb 02 '25 10:02 D3vil0p3r

@D3vil0p3r what news are you looking for? To make this work on unsupported distros, see the second comment.

mike-lloyd03 avatar Feb 02 '25 15:02 mike-lloyd03