From f5c9d5f0c73cd1e02dc62f2d4f923c6faa977caf Mon Sep 17 00:00:00 2001 From: hexchen Date: Mon, 11 Jan 2021 00:22:37 +0000 Subject: [PATCH] docs: add readme.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e9f8f61 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# hacc nixfiles + +welcome to hacc nixfiles (haccfiles). this is the code describing our nix-based infrastructure. + +## structure + +- `default.nix`: Entrypoint to the config +- `common/`: configuration common to all hosts +- `desktop/`: desktop-relevant communication +- `modules/`: home-grown modules for hacc-specific services +- `nix/`: sources files, managed with niv +- `pkgs/`: packages we built and don't want to upstream + +## working with the haccfiles + +deploy: +``` shell +nix build -f . deploy.$hostname && ./result switch +``` + +`$hostname` can be replaced with any hostname or group