update readmes

This commit is contained in:
Tyler Starr 2024-09-29 21:15:53 -07:00
parent d89763c0ae
commit 1367514791
2 changed files with 13 additions and 31 deletions

View File

@ -2,18 +2,7 @@
The following documents some NixOS setup that wasn't automated. The following documents some NixOS setup that wasn't automated.
## Encryption Keys ## NIPR email, Teams, etc.
### Github SSH
Keys for SSH aren't automatically placed with chezmoi `secret` since it complicated
things to much. The key for github SSH must be transferred manually from Bitwarden
or:
- `/run/secrets/keys/github_personal` to `~/.ssh/keys/github_personal`.
- `/run/secrets/radicale/users` to `~/.config/radicale/users`.
### NIPR email, Teams, etc.
- Run `pcscan` and make sure card reader shows up. - Run `pcscan` and make sure card reader shows up.
- Run `pkcs11-register` to register cac. - Run `pkcs11-register` to register cac.
@ -88,8 +77,3 @@ git clone https://<user>:<token>@git.tstarr.us/tstarr/vulcan.git
Copy another `.obsidian` folder for the new host (i.e. `.obsidian-<host>`). Copy another `.obsidian` folder for the new host (i.e. `.obsidian-<host>`).
Open vault folder in obsidian and change the `.obsidian` folder in settings. Open vault folder in obsidian and change the `.obsidian` folder in settings.
## Wifi on Shivan
Connect to wifi network with: `nmcli device wifi connect <SSID> password <password>`.

View File

@ -5,8 +5,7 @@ Set of configs files to setup NixOS.
## Usage ## Usage
1. Install NixOS with this [guide](https://nixos.wiki/wiki/NixOS_Installation_Guide). 1. Install NixOS with this [guide](https://nixos.wiki/wiki/NixOS_Installation_Guide). Use the following paritions and btrfs subvolumes:
Use the following paritions and btrfs subvolumes:
| Name | Type | Mount Point | Size | | Name | Type | Mount Point | Size |
|---------|-------|-------------|--------------| |---------|-------|-------------|--------------|
@ -19,18 +18,18 @@ Set of configs files to setup NixOS.
2. Run the following commands: 2. Run the following commands:
```bash ```bash
nix-shell -p vim git nix-shell -p vim git
git clone https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi git clone https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi
``` ```
Move the installer created hardware.nix to dotfiles. E.g. `provision/hosts/<host>/hardware.nix`. Move the installer created hardware.nix to dotfiles. E.g. `provision/hosts/<host>/hardware.nix`.
```bash ```bash
cd ~/.local/share/chezmoi/provision cd ~/.local/share/chezmoi/provision
sudo nixos-rebuild switch --flake .#<host> sudo nixos-rebuild switch --flake .#<host>
chezmoi init && chezmoi apply chezmoi init && chezmoi apply
``` ```
3. Profit! 3. Profit!
@ -38,5 +37,4 @@ Perform additional setup found in [additional-setup](additional-setup.md)
## Update ## Update
`nixos-rebuild` command is aliased to `nu` assuming the flake is named the same at the `nixos-rebuild` command is aliased to `nu` assuming the flake is named the same at the hostname of the machine.
hostname of the machine.