mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-17 12:21:07 +01:00
1b0097ebc6
Note that systemd usage information needs to be revised since systemd user units appear to be enabled by default, and may be started by default when placed in the default.target.wants directory.
30 lines
791 B
Markdown
30 lines
791 B
Markdown
# systemd
|
|
|
|
*systemd* is described as "a suite of basic building blocks for a Linux system". One of the functions it can be used for is starting daemons at login.
|
|
|
|
## Dependencies
|
|
|
|
- [openssh][openssh] - `ssh-agent.service` support
|
|
- [rxvt-unicode-patched][rxvt-unicode-patched] - `urxvtd.service` support
|
|
- [mpd][mpd] - `mpd.service` support
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
make package=systemd
|
|
```
|
|
|
|
## Usage
|
|
|
|
To start all the user services I use, run:
|
|
|
|
```sh
|
|
make systemd-enable-now
|
|
```
|
|
|
|
If you only want to start certain services instead, start them like you normally would with systemd.
|
|
|
|
[openssh]: https://www.archlinux.org/packages/core/x86_64/openssh/
|
|
[rxvt-unicode-patched]: https://aur.archlinux.org/packages/rxvt-unicode-patched/
|
|
[mpd]: https://www.archlinux.org/packages/extra/x86_64/mpd/
|