Improve README.
This commit is contained in:
parent
65321376e8
commit
9aaa5e58f7
1 changed files with 9 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ to install Nix, like [the official installer][official-installer] or this
|
||||||
|
|
||||||
## Usage with flakes
|
## Usage with flakes
|
||||||
|
|
||||||
|
### Defining the configuration
|
||||||
|
|
||||||
A basic Nix flake using System Manager would look something like this:
|
A basic Nix flake using System Manager would look something like this:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
|
|
@ -88,6 +90,13 @@ in
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Activating the configuration
|
||||||
|
|
||||||
|
Once the configuration defined, you can activate it using the `system-manager` CLI:
|
||||||
|
```sh
|
||||||
|
nix run 'github:numtide/system-manager' -- switch --flake-uri '.'
|
||||||
|
```
|
||||||
|
|
||||||
# Currently supported features
|
# Currently supported features
|
||||||
|
|
||||||
Currently it is possible to configure files under `/etc/` and systemd services.
|
Currently it is possible to configure files under `/etc/` and systemd services.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue