mirror of
https://github.com/kittywitch/nixfiles.git
synced 2025-12-21 19:29:17 -08:00
kat's configuration flake
dotfilesemacsfirefoxflakehacktoberfestlinuxmacosneovimnixnix-darwinnixosnixos-configurationswaywaybar
| .github/workflows | ||
| ci | ||
| common | ||
| darwin | ||
| emacs | ||
| home | ||
| microvms/syncthing | ||
| modules | ||
| nixos | ||
| nixvim | ||
| packages | ||
| quickshell | ||
| scripts | ||
| shells | ||
| systems | ||
| tf | ||
| wrappers | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| colmena.nix | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| formatting.nix | ||
| hardware-configuration.nix | ||
| outputs.nix | ||
| overlays.nix | ||
| pkgs.nix | ||
| README.md | ||
| std.nix | ||
| TODO.md | ||
| tree.nix | ||
| treefmt.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
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