mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
stow: Split systemd package into bspwm and ssh-agent
Since urxvt will only be used on my bspwm setup, and since ssh-agent can be used on non-bspwm setups as well, it makes sense to separate the two.
This commit is contained in:
parent
f06df4e1ab
commit
cddcb504d3
23
ssh-agent/README.md
Normal file
23
ssh-agent/README.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# ssh-agent
|
||||||
|
|
||||||
|
SSH is used to connect to remote machines. I use a systemd service to manage ssh-agent.
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- [openssh][openssh] - SSH support
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make package=ssh-agent
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```sh
|
||||||
|
systemctl --user enable --now ssh-agent.service
|
||||||
|
```
|
||||||
|
|
||||||
|
In order for ssh-agent to cache your keys, you must first add them with `ssh-add`.
|
||||||
|
|
||||||
|
[openssh]: https://www.archlinux.org/packages/core/x86_64/openssh/
|
@ -1,33 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
### ssh-agent
|
|
||||||
|
|
||||||
In order for ssh-agent to cache your keys, you must first add them. You can do this by using `ssh-add`.
|
|
||||||
|
|
||||||
[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/
|
|
Loading…
Reference in New Issue
Block a user