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 Client
Wireguard is nice for a home vpn and [pivpn](https://pivpn.io/) makes it easy. Wireguard is nice for a home vpn. NixOS setus up all of the configurations for
Currently my scripts for controlling (and visualizing the state of the vpn) peers automatically on `torus`. Public keys, private keys, and config files are
assume the connection name for the vpn is the same as the hostname of the system. generated and stored in `~/.wireguard`. Some machines like `kestrel` setup the
This may need to be modified in the future if I end up needing multiple vpn vpn automatically within `configuration.nix`. However, others require a small
connections. 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 ```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 ## Mount network drives
I find fstab messing about more trobule than it is worth. Credentials are I find fstab messing about more trobule than it is worth. Credentials need to be
stored in ~/.smb. Mount network drives when needed with the following command: manually created in `~/.smb`. To mount network drives when needed with the
following command:
```bash ```bash
linux-mount-<network drive name> linux-mount-<network drive name>
@ -29,13 +34,14 @@ linux-mount-<network drive name>
## Syncthing ## Syncthing
Syncthing is used to sync folders between various computers and android. The Syncthing is used to sync folders between various computers. The service is
ansible script should setup and run the service, but shares must be setup automatically installed and started with NixOS, but shares currently must be
via the web gui. setup with the web gui.
## Git-annex ## Git-annex
I use [git-annex](https://git-annex.branchable.com/walkthrough/) to sync some 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 of the large files (mostly roms) that I don't want to have fill copies on each
machine. machine. Current git-annex stores I have are:
- `roms` - `~/mnt/engi/media/roms` from Torus.
- `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. 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 ```bash
nixos-update # Assuming hostname is same as flake name nixos-update # Assuming hostname is same as flake name