Merge pull request #85 from mike-lloyd03/document_allowAnyDistro

Document allowAnyDistro
This commit is contained in:
Ramses 2024-04-23 10:12:48 +02:00 committed by GitHub
commit 073f275b56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ A simple System Manager module could look something like this:
### Activating the configuration ### Activating the configuration
Once the configuration defined, you can activate it using the `system-manager` CLI: Once the configuration is defined, you can activate it using the `system-manager` CLI:
```sh ```sh
nix run 'github:numtide/system-manager' -- switch --flake '.' nix run 'github:numtide/system-manager' -- switch --flake '.'
``` ```
@ -102,6 +102,21 @@ nix run 'github:numtide/system-manager' -- switch --flake '.'
Currently it is possible to configure files under `/etc/` and systemd services. Currently it is possible to configure files under `/etc/` and systemd services.
More features may follow later. More features may follow later.
## Supported Systems
System Manger is currently only supported on NixOS and Ubuntu. However, it can be used on other distributions by enabling the following:
```nix
{
config = {
system-manager.allowAnyDistro = true;
}
}
```
> [!WARNING]
> This is unsupported and untested. Use at your own risk.
## Commercial support ## Commercial support
Looking for help or customization? Looking for help or customization?