Updates to readmes

This commit is contained in:
Tyler Starr 2023-10-08 21:45:28 -07:00
parent c1af411db2
commit 0085fb779f
3 changed files with 25 additions and 28 deletions

10
TODO.md
View File

@ -1,10 +0,0 @@
# TODO
- Fix syncthing for Yuzu/retro games
- Use chezmoi to set colors for theme (if possible)
- Document themeing options in additional-setup (to help and figure out automation)
- Make fzf scratch pad for zk notes
- Make scratch pad for taskwarrior/timewarrior?
- Make kestrel vpn setup automatically
- convert home server to nix?
- Make bookmarks fzf script
- Make windows vm in virt manager

View File

@ -4,24 +4,29 @@ 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.
Wireguard is nice for a home vpn. NixOS setus up all of the configurations for
peers automatically on `torus`. Public keys, private keys, and config files are
generated and stored in `~/.wireguard`. Some machines like `kestrel` setup the
vpn automatically within `configuration.nix`. However, others require a small
amount of manual setup.
Cell phones like `adjudicator` are added with a generated QR code:
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>
qrencode -t ansiutf8 < <conf file>
```
Computers using NetworkManager like `bulwark` need to have conf file imported:
```bash
nmcli connection import type wireguard file <conf file>
```
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:
I find fstab messing about more trobule than it is worth. Credentials need to be
manually created in `~/.smb`. To mount network drives when needed with the
following command:
```bash
linux-mount-<network drive name>
@ -29,13 +34,14 @@ 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.
Syncthing is used to sync folders between various computers. The service is
automatically installed and started with NixOS, but shares currently must be
setup with the web gui.
## Git-annex
I use [git-annex](https://git-annex.branchable.com/walkthrough/) to sync some
of the large files (mostly roms) that I don't want to have fill copies on each
machine.
- `roms` - `~/mnt/engi/media/roms` from Torus.
machine. Current git-annex stores I have are:
- `roms` - `~/mnt/engi/media/roms` from `torus`.

View File

@ -26,7 +26,8 @@ Set of configs files to setup NixOS.
Move the installer created hardware.nix to dotfiles.
Copy `.chezmoidata.yaml.example` to `.chezmoidata.yaml` and edit with desired settings then run the following commands:
Copy `.chezmoidata.yaml.example` to `.chezmoidata.yaml` and edit with desired
settings then run the following commands:
```bash
nixos-update # Assuming hostname is same as flake name