kat's configuration flake
Find a file
2024-08-28 14:05:50 -07:00
.github/workflows fix: disable koishi and goliath builds 2024-07-14 09:07:48 -07:00
ci style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
common style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
darwin Migrate packages for sumireko 2023-11-29 07:59:39 -08:00
home feat(data): purge ssh key 2024-08-15 10:17:06 -07:00
modules Merge pull request #60 from arcnmx/fix-pure-eval 2024-08-03 16:12:53 -07:00
nixos feat(dns): mullvad dns sucks 2024-08-19 13:25:47 -07:00
packages style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
shells style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
systems feat(systems): pre-create flake keys that are operated on 2024-08-28 14:05:50 -07:00
tf feat: change value for domain to have devices prefix 2024-08-03 16:32:17 -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
.gitmodules [POSTGRES] Dependencies 2023-05-06 18:33:31 -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 style: alejandra, deadnix, statix 2024-08-03 16:10:47 -07:00
flake.nix feat: home-manager? 2024-07-13 17:47:03 -07:00
formatter.nix feat: overlays + pkgs 2023-01-27 15:20:34 -08:00
outputs.nix feat: add packages as well as legacyPackages for outputs 2024-07-14 08:54:39 -07:00
overlays.nix feat: catchup... 2024-08-14 11:44:24 -07:00
pkgs.nix [STYLE/REFACTOR] Deadnix, Alejandra and Statix 2023-04-25 16:48:32 -07: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