Watch
1
0
Fork
You've already forked chitin
0

added README

added `LICENSE` and cover image assets
This commit is contained in:
asnev 2026-10-30 05:40:24 +07:00
commit 4d07c9142a
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4
6 changed files with 48 additions and 0 deletions

7
LICENSE Normal file
View file

@ -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.

41
README.md Normal file
View file

@ -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.

BIN
assets/cover.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -0,0 +1,16 @@
{
inputs,
systemConstants,
...
}: {
flake-file.inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
};
imports = [
inputs.flake-parts.flakeModules.modules
inputs.flake-parts.flakeModules.easyOverlay
];
systems = systemConstants.infraSystems;
}

5
modules/flake/fmt.nix Normal file
View file

@ -0,0 +1,5 @@
{
perSystem = {pkgs, ...}: {
formatter = pkgs.alejandra;
};
}

View file

@ -0,0 +1,12 @@
{inputs, ...}: {
imports = [
inputs.flake-file.flakeModules.default
];
flake-file.inputs = {
flake-file.url = "github:denful/flake-file";
import-tree.url = "github:vic/import-tree";
};
flake-file.outputs = "inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules)";
}