kat's configuration flake
Find a file
2025-09-18 16:22:22 -07:00
.github/workflows ops(ci): ? 2025-08-18 15:58:29 -07:00
ci ops(ci): ? 2025-08-18 15:58:29 -07:00
common feat: teheheheee 2025-09-18 05:12:14 -07:00
darwin style: nix fmt 2025-07-13 07:16:21 -07:00
home feat: teheheheee 2025-09-18 05:12:14 -07:00
microvms/syncthing feat: move to wivrn, vencord 2025-08-22 00:43:54 -07:00
modules feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -07:00
nixos feat: whee 2025-09-18 16:22:22 -07:00
packages feat: teheheheee 2025-09-18 05:12:14 -07:00
shells fix: updates, ci, ntsync 2025-08-19 12:41:12 -07:00
systems feat: whee 2025-09-18 16:22:22 -07:00
tf feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -07:00
vr feat: sync 2025-08-26 01:16:07 -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 feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -07:00
.sops.yaml feat: move to wivrn, vencord 2025-08-22 00:43:54 -07:00
default.nix feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -07:00
flake.lock feat: teheheheee 2025-09-18 05:12:14 -07:00
flake.nix feat: teheheheee 2025-09-18 05:12:14 -07:00
formatting.nix style: nix fmt 2025-07-13 07:16:21 -07:00
outputs.nix feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -07:00
overlays.nix feat: teheheheee 2025-09-18 05:12:14 -07:00
pkgs.nix feat: deduplicate flake lock, set up treefmt-nix 2025-07-13 05:09:30 -07:00
README.md mweep 2025-07-22 13:39:08 -07:00
std.nix style: nix fmt 2025-07-13 07:16:21 -07:00
tree.nix feat: move to wivrn, vencord 2025-08-22 00:43:54 -07:00
treefmt.nix feat: ...get internet again. git-hooks.nix adopt 2025-08-18 15:13:47 -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
CI_PLATFORM=impure nix run -f https://github.com/arcnmx/ci/archive/v0.7.tar.gz run.gh-actions-generate --arg config ./ci/nodes.nix