From 0085fb779f45b317815b9a56866d8953c9fe606b Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sun, 8 Oct 2023 21:45:28 -0700 Subject: [PATCH] Updates to readmes --- TODO.md | 10 -------- provision/nixos/additional-setup.md | 40 +++++++++++++++++------------ provision/nixos/readme.md | 3 ++- 3 files changed, 25 insertions(+), 28 deletions(-) delete mode 100644 TODO.md diff --git a/TODO.md b/TODO.md deleted file mode 100644 index ec2319d7..00000000 --- a/TODO.md +++ /dev/null @@ -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 diff --git a/provision/nixos/additional-setup.md b/provision/nixos/additional-setup.md index fe9c84f8..e080ac82 100644 --- a/provision/nixos/additional-setup.md +++ b/provision/nixos/additional-setup.md @@ -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 +qrencode -t ansiutf8 < +``` + +Computers using NetworkManager like `bulwark` need to have conf file imported: + +```bash +nmcli connection import type wireguard file ``` -3. Use `nm-connection-editor` to disable automatic connection -4. Connect to vpn with `nmcli connection up ## 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- @@ -29,13 +34,14 @@ linux-mount- ## 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`. diff --git a/provision/nixos/readme.md b/provision/nixos/readme.md index 4d684b25..2c729bee 100644 --- a/provision/nixos/readme.md +++ b/provision/nixos/readme.md @@ -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