kat's configuration flake
Find a file
2025-07-13 20:16:14 -07:00
.github/workflows feat: readd signing key 2024-10-25 16:33:20 -04:00
ci koishi reinstall 2025-06-27 14:24:02 -07:00
common feat: deduplicate flake lock, set up treefmt-nix 2025-07-13 05:09:30 -07:00
darwin style: nix fmt 2025-07-13 07:16:21 -07:00
home feat: forgor 2025-07-13 20:16:14 -07:00
modules style: nix fmt 2025-07-13 07:16:21 -07:00
nixos style: nix fmt 2025-07-13 07:16:21 -07:00
packages fix: Everything 2025-07-13 07:09:45 -07:00
shells feat: big fixups 2025-07-13 05:19:29 -07:00
systems feat: forgor 2025-07-13 20:16:14 -07:00
tf style: nix fmt 2025-07-13 05:10:57 -07:00
vr many changes 2025-06-17 16:41:48 -07:00
wrappers fix: Everything 2025-07-13 07:09:45 -07:00
.envrc feat: overlays + pkgs 2023-01-27 15:20:34 -08:00
.gitignore renko testing setup 2023-07-28 10:40:11 -07:00
.sops.yaml koishi reinstall 2025-06-27 14:24:02 -07:00
default.nix feat: pulumi, nix-std, ... 2023-01-18 13:35:31 -05:00
discord.css many changes 2025-06-17 16:41:48 -07:00
flake.lock ops: update flake for arcexprs 2025-07-13 07:11:18 -07:00
flake.nix style: nix fmt 2025-07-13 07:16:21 -07:00
formatting.nix style: nix fmt 2025-07-13 07:16:21 -07:00
outputs.nix style: nix fmt 2025-07-13 07:16:21 -07:00
overlays.nix style: nix fmt 2025-07-13 05:10:57 -07:00
pkgs.nix feat: deduplicate flake lock, set up treefmt-nix 2025-07-13 05:09:30 -07:00
README.md docs: README update 2024-07-14 09:34:40 -07:00
std.nix style: nix fmt 2025-07-13 07:16:21 -07:00
tree.nix fix: Everything 2025-07-13 07:09:45 -07:00
treefmt.nix style: nix fmt 2025-07-13 05:10:57 -07:00

kittywitch infrastructure

This repository is my personal infrastructure repository. It contains the Nix and Terraform I leverage.

Usage

# get the repo shell
nix develop .#repo

# get the repo shell from outside of the repo
nix develop github:kittywitch/kittywitch#repo

# use direnv to get the repo shell
direnv allow

# repl
nix repl .
nix repl
:lf .

# deploy locally
sudo nixos-rebuild --flake .#$HOST switch --show-trace

# deploy with deploy-rs (without checks)
deploy-rs -s .#$HOST

# edit a secret file
sops ./systems/yukari.yaml

# output a secret file
sops -d ./systems/yukari.yaml

# plan an apply
cd tf/
terraform plan

# update nodes CI
# obtain storepath from nix run github:arcnmx/ci/v0.7 >~<
 nix run --argstr config "./ci/nodes.nix" -f "/nix/store/frf40m951652jv6qqkzfhr6n6r332gk9-source" run.gh-actions-generate --show-trace