kat's configuration flake
Find a file
2025-07-27 13:54:58 -07:00
.github/workflows build: change ci 2025-07-27 13:44:32 -07: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: slim slightly... 2025-07-27 13:32:41 -07:00
modules feat: stylix? 2025-07-26 17:06:28 -07:00
nixos feat: slim slightly... 2025-07-27 13:32:41 -07:00
packages feat: +x build-system 2025-07-27 13:42:52 -07:00
shells feat: big fixups 2025-07-13 05:19:29 -07:00
systems feat: +x build-system 2025-07-27 13:42:52 -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
flake.lock fix: maybe? 2025-07-27 13:54:58 -07:00
flake.nix fix: flakehub doesn't work with that huh 2025-07-27 13:46:32 -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 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: stylix? 2025-07-26 17:06:28 -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
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