diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fb9cac9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2026 asnev + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a3214c2 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +![Banner image. Photographic snippet showing foliage of green moss accompanied by a few small, frail, white mushrooms, resembling umbrellas for tiny people residing within the dew-dripped leaves.](assets/cover.jpg "banner image") + +# chitin + +asnev's [NixOS](https://nixos.org/) configuration + + +## paradigm + +uses [flake-parts](https://flake.parts/)' in-built modules system for less schema boilerplate, though shared infra-wide values (available via the `systemConstants` attrs argument) are configured in generic Nix so as to work across all modules, not just top-level ones. + + +## graphics + +only KDE Plasma has been set up so far. (TODO: declaratively configure with `plasma-manager`) + + +## directory structure + +* `assets/` - media and binary assets +* `modules/` - flake modules (auto-imported with [import-tree](https://github.com/denful/import-tree) + * `nixos/` - NixOS configurations that apply to all hosts and users + * `home/` - user environment management via `home-manager` (installed as a NixOS module) + * `hosts/` - per-host specific configuration + * `packages/` - additional package overlays + * `shells/` - TUI niceties (maybe `devshells` too?) + * `flake/` - infra-related Nix flake logic + + +## musings + +* "why `chitin`? why give your configuration files a name at all?" + * because it's fun. and i wanted to use a distantly related web-like word for it. my affinity for fungi made me randomly one day decide that i'd name it after [chitin](https://en.wikipedia.org/wiki/Chitin), the primary molecule giving strength to mycelium networks. +* "were these written by a coding assista-" + * [No](https://www.sheeeeeeeep.art/software-in-current-era.html). + + +## licences + +[MIT](LICENSE) for the code, [Unsplash License](https://unsplash.com/license) for the banner image, from [iamateapot](https://unsplash.com/photos/a-mushroom-growing-in-a-forest-CRHNiHXXFIs) with edits. + diff --git a/assets/cover.jpg b/assets/cover.jpg new file mode 100644 index 0000000..33cf45e Binary files /dev/null and b/assets/cover.jpg differ diff --git a/modules/flake-parts.nix b/modules/flake/flake-parts.nix similarity index 100% rename from modules/flake-parts.nix rename to modules/flake/flake-parts.nix diff --git a/modules/repository/fmt.nix b/modules/flake/fmt.nix similarity index 100% rename from modules/repository/fmt.nix rename to modules/flake/fmt.nix diff --git a/modules/write-flake.nix b/modules/flake/write-flake.nix similarity index 100% rename from modules/write-flake.nix rename to modules/flake/write-flake.nix