Nix Library for Coreutils
-
inputs.lib-coreutils = {
| { | |
| genAttr = | |
| name: value: { | |
| ${name} = value name; | |
| }; | |
| } |
| target/ | |
| *.nar.zst |
| lib: schemas: flakeOutputs: | |
| let | |
| # Recursively collect derivations from an inventory node's children. | |
| # The inventory is a tagged tree: subtrees live under .children, not as plain nested attrsets. | |
| collect = | |
| path: value: children: | |
| lib.concatMap ( | |
| name: | |
| let | |
| node = children.${name}; |
| use flake |
Exposes a library helper and a flake-parts module to dynamically inspect NixOS configurations and register their enabled services to Nixpkgs' integration tests for CI/checks.
inputs.nixos-test-harvester = {
url = "https://gist.github.com/Malix-Labs/d58d2af9be08519099b17abb25f4d5be";An Agent Quota model quota timer handling script
It is packaged as a Nix flake, exposing a standalone package, a Home Manager module, and a native NixOS module to run the script periodically via systemd user services and timers so the cooldown is always maxxed
| use flake |
| #!/usr/bin/env bash | |
| set -euCET -o pipefail |
| 1. Individuals of type Person (Customer + DeliveryMan): | |
| Customer: http://www.example.org/customer/MariaRossi | |
| Customer: http://www.example.org/customer/JeanDupont | |
| DeliveryMan: http://www.example.org/delivery/Claude | |
| DeliveryMan: http://www.example.org/delivery/Alice | |
| 2. SPARQL - All persons (Customer + DeliveryMan) with names: | |
| Person: http://www.example.org/delivery/Claude, Name: Claude | |
| Person: http://www.example.org/customer/MariaRossi, Name: Maria Rossi | |
| Person: http://www.example.org/delivery/Alice, Name: Alice |