mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
kat's configuration flake
dotfilesemacsfirefoxflakehacktoberfestlinuxmacosneovimnixnix-darwinnixosnixos-configurationswaywaybar
|
Some checks failed
flake-update / flake-update check (push) Has been cancelled
flake-update / flake-update (push) Has been cancelled
nodes / nodes-home-home-base (push) Failing after 24s
nodes / nodes check (push) Failing after 1m30s
nodes / nodes-home-home-graphical (push) Failing after 43s
nodes / nodes-home-home-neovim (push) Failing after 23s
nodes / nodes-nixos-mei (push) Failing after 23s
nodes / nodes-home-home-shell (push) Failing after 45s
nodes / nodes-nixos-mai (push) Failing after 44s
|
||
|---|---|---|
| .github/workflows | ||
| ci | ||
| common | ||
| darwin | ||
| home | ||
| microvms/syncthing | ||
| modules | ||
| nixos | ||
| packages | ||
| shells | ||
| systems | ||
| tf | ||
| vr | ||
| wrappers | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| colmena.nix | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| formatting.nix | ||
| outputs.nix | ||
| overlays.nix | ||
| pkgs.nix | ||
| README.md | ||
| std.nix | ||
| 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