mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
73 lines
2.2 KiB
Markdown
73 lines
2.2 KiB
Markdown
# Additional Setup
|
|
|
|
The following documents some NixOS setup that wasn't automated.
|
|
|
|
## Wireguard Client
|
|
|
|
Wireguard is nice for a home vpn and [pivpn](https://pivpn.io/) makes it easy.
|
|
Currently my scripts for controlling (and visualizing the state of the vpn)
|
|
assume the connection name for the vpn is the same as the hostname of the system.
|
|
This may need to be modified in the future if I end up needing multiple vpn
|
|
connections.
|
|
|
|
1. Create client on server and copy resulting `.conf` file to local machine
|
|
2. Import to networkmanager with:
|
|
```bash
|
|
nmcli connection import type wireguard file <conf file from pivpn>
|
|
```
|
|
3. Use `nm-connection-editor` to disable automatic connection
|
|
4. Connect to vpn with `nmcli connection up <vpn connection name>
|
|
|
|
## Mount network drives
|
|
|
|
I find fstab messing about more trobule than it is worth. Credentials are
|
|
stored in ~/.smb. Mount network drives when needed with the following command:
|
|
|
|
```bash
|
|
linux-mount-<network drive name>
|
|
```
|
|
|
|
## Syncthing
|
|
|
|
Syncthing is used to sync folders between various computers and android. The
|
|
ansible script should setup and run the service, but shares must be setup
|
|
via the web gui. Currently four shares exists:
|
|
- `.warrior` - `.task` and `.timewarrior` folders to sync taskwarrior tasks.
|
|
These two folders are symlinked to the home folder where taskwarrior/timewarrior
|
|
expects them.
|
|
- `warrior` - contains text files associated with taskwarrior (mostly from
|
|
taskopen).
|
|
- `phone photos` - personal photos synched from android.
|
|
- `phone screenshots` - personal screenshots synced from android.
|
|
- `ssh_keys` - contains ssh keys for git remotes (~/.ssh/keys)
|
|
- `vimwiki` - contains text files associate with my personal vimwiki.
|
|
|
|
## Git SSH for personal and work
|
|
|
|
- ~/.gitconfig - personal github configuration.
|
|
- ~/devel/work/.gitconfig - work gitlab configuration.
|
|
|
|
Gitconfig files for SSH git push/pull are automaitcally placed. The only
|
|
additional configuration required is the transfer of SSH keys (see Syncthing
|
|
section).
|
|
|
|
## Firefox
|
|
|
|
Transfer the `.mozilla` folder from install-to-install to maintain Firefox
|
|
settings and configurations.
|
|
|
|
## Yuzu
|
|
|
|
Copy over the `~/.config/yuzu` and `~/.local/share/yuzu` from prior install.
|
|
|
|
## Themeing (is that a word?)
|
|
|
|
### Alacritty
|
|
TODO
|
|
|
|
### ZSH
|
|
TODO
|
|
|
|
### Sway
|
|
TODO
|