kat's configuration flake
Find a file
2024-10-25 16:23:12 -04:00
.github/workflows ci: fix files to take correct config location 2024-10-25 14:08:12 -04:00
ci feat: move to auth token for cachix? 2024-10-25 16:23:12 -04:00
common feat: cleaning up... 2024-10-09 10:58:02 -04:00
darwin Migrate packages for sumireko 2023-11-29 07:59:39 -08:00
home feat(syncthing): woooo! 2024-09-02 22:29:27 -07:00
modules feat(koishi): ollama 2024-09-14 10:16:48 -07:00
nixos feat: fix oracle micro 2024-10-25 13:06:39 -04:00
packages feat: move to auth token for cachix? 2024-10-25 16:23:12 -04:00
shells style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
systems feat: remove yukari 2024-10-25 13:05:32 -04:00
tf feat: a bunch of things, also hcloud removal 2024-10-25 12:55:56 -04:00
wrappers feat: add CI_CONFIG_ROOT? 2024-10-25 14:06:49 -04: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 feat: attempt to integrate ci from Gensokyo-zone/infrastructure 2024-07-13 11:46:31 -07:00
default.nix feat: pulumi, nix-std, ... 2023-01-18 13:35:31 -05:00
flake.lock chore(ci): flake update 2024-10-25 18:34:13 +00:00
flake.nix feat: merge wrapped packages into root 2024-10-25 13:47:50 -04:00
formatter.nix feat: overlays + pkgs 2023-01-27 15:20:34 -08:00
outputs.nix feat: merge wrapped packages into root 2024-10-25 13:47:50 -04:00
overlays.nix build(fullhome): disable 2024-08-28 14:31:44 -07:00
pkgs.nix feat: cleaning up... 2024-10-09 10:58:02 -04:00
README.md docs: README update 2024-07-14 09:34:40 -07:00
std.nix feat: renko hostname 2023-01-30 10:04:27 -08:00
tree.nix style: alejandra, deadnix, statix 2024-08-03 16:10: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
# 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