mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
kat's configuration flake
dotfilesemacsfirefoxflakehacktoberfestlinuxmacosneovimnixnix-darwinnixosnixos-configurationswaywaybar
| .github/workflows | ||
| ci | ||
| common | ||
| darwin | ||
| home | ||
| modules | ||
| nixos | ||
| packages | ||
| shells | ||
| systems | ||
| tf | ||
| vr | ||
| wrappers | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| default.nix | ||
| discord.css | ||
| flake.lock | ||
| flake.nix | ||
| formatter.nix | ||
| outputs.nix | ||
| overlays.nix | ||
| pkgs.nix | ||
| README.md | ||
| std.nix | ||
| tree.nix | ||
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