Nix Library for Coreutils
-
inputs.lib-coreutils = {
| 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}; |
| .pre-commit-config.yaml |
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 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1mv9eft" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.3.1"> | |
| <bpmn:collaboration id="Collaboration_069i7ol"> | |
| <bpmn:participant id="Participant_0fk3t0c" name="Customer" processRef="Process_0re9jex" /> | |
| <bpmn:participant id="Participant_0n9pw0j" name="Customer" processRef="Process_0ff1fgc" /> | |
| <bpmn:participant id="Participant_0dt7p7u" name="Quality Control Company" processRef="Process_00ta6d6" /> | |
| <bpmn:messageFlow id="Flow_11c1k1g" sourceRef="Activity_11unkuo" targetRef="Activity_00t2hj4" /> | |
| <bpmn:messageFlow id="Flow_1u2jy5o" sourceRef="Activity_1nnklra" targetRef="Activity_1r11na7" /> | |
| <bpmn: |
| reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f |