Skip to content

Instantly share code, notes, and snippets.

View Malix-Labs's full-sized avatar
🌊

Malix - Alix Brunet Malix-Labs

🌊
View GitHub Profile
@Malix-Labs
Malix-Labs / README.md
Last active July 11, 2026 12:29
Nix Replace Coreutils with Uutils

Nix Lib Coreutils

Nix Library for Coreutils

Setup

Flakes

  1. inputs.lib-coreutils = {
@Malix-Labs
Malix-Labs / default.nix
Last active July 8, 2026 07:29
Nix Extract Config Derivations
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};
@Malix-Labs
Malix-Labs / .gitignore
Last active July 14, 2026 16:48
Nix Options Utils
.pre-commit-config.yaml
@Malix-Labs
Malix-Labs / README.md
Last active July 2, 2026 17:59
NixOS Test Harvester

NixOS Test Harvester

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.

How to use

Flake Input

inputs.nixos-test-harvester = {
  url = "https://gist.github.com/Malix-Labs/d58d2af9be08519099b17abb25f4d5be";
@Malix-Labs
Malix-Labs / README.md
Last active July 14, 2026 16:52
`agy` Timers Utils

Agent Quota Timer Utils

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

How to use

Flake Input

@Malix-Labs
Malix-Labs / .envrc
Last active March 1, 2026 00:27
Efrei 2026 Cloud Computing Lab 4
use flake
@Malix-Labs
Malix-Labs / bash.bash
Last active April 13, 2026 23:15
Bash Boilerplate
#!/usr/bin/env bash
set -euCET -o pipefail
@Malix-Labs
Malix-Labs / 4.log
Last active June 29, 2025 22:05
Knowledge
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
@Malix-Labs
Malix-Labs / Main.bpmn
Last active April 14, 2025 14:22
Software Development Process
<?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:
@Malix-Labs
Malix-Labs / BypassRNO.ps1
Created March 29, 2025 12:40
Bypass Network Requirement During Windows Install (`OOBE\BYPASSNRO` workaround)
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f