Robert Hensing roberth
  • NixOps 4. Beyond the Fediversity project: Nix co-maintainer, Hercules CI

  • Joined on 2024-03-01
57 contributions in the last 12 months
AprMayJunJulAugSepOctNovDecJanFebMarMonWedFri
Less
More
roberth commented on issue Fediversity/Fediversity#130 2025-02-18 18:42:26 +01:00
Way to use secrets with NixOps4

So the goal here is to declare an age-encrypted secret as an input to other resources, decrypting it with the ops person's ambiently provided credentials (e.g. ~/.ssh), and something similar for…

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

A resource provider for NixOps4 is an executable that communicates between a resource and NixOps4 using a standardised protocol, allowing CRUD operations on the resources to be performed by NixOps4.

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

Part after , needs more grammar

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

grammar

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

The software includes technical configuration that links software components.

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

, developed

roberth commented on pull request Fediversity/Fediversity#132 2025-02-13 13:14:56 +01:00
list goals, actors; add glossary

A resource for NixOps4 is any external entity that can be declared with NixOps4 expressions and manipulated with NixOps4, such as a virtual machine, an active NixOS configuration, a DNS entry, or customer database.

roberth commented on issue Fediversity/Fediversity#92 2025-01-31 14:32:53 +01:00
Add CI builds to a public cache

I've set up https://nixops4.cachix.org, written to by a Hercules CI agent that I run for the https://github.com/nixops4 org.

It's not a particularly long build, so I haven't bothered documenting…

roberth commented on pull request Fediversity/Fediversity#91 2025-01-31 14:28:33 +01:00
Fix various infra issues
  • Revert last nix flake update that led to a broken state of nixops4 + nixops4-nixos.

What broke?

roberth commented on issue Fediversity/Fediversity#93 2025-01-31 12:11:23 +01:00
Write all modules with destructured arguments

You may also specify the _class module attribute, which documents and enforces the purpose of the module, and has potential to be a recognizable keyword for those who read the code. They are…

roberth commented on issue Fediversity/Fediversity#90 2025-01-31 11:27:26 +01:00
Contract-test our interaction with NixOps4

You can use the nixops4-nixos VM test as a reference. ([permalink](https://github.com/nixops4/nixops4-nixos/blob/65f

roberth approved Fediversity/Fediversity#57 2024-12-13 13:25:29 +01:00
Enter Agenix
roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 13:21:21 +01:00
Enter Agenix

I forgot that agenix wants to read it directly.

👍

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

You'd have to accidentally stage the files as well. Of course good advice though.

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

Naming convention is lowerCamelCase, or snake-case for packages, so I feel like x-fediversity is a bit more natural.

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

thought (no action needed):

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

concatMapAttrs f . filterAttrs g is equivalent to concatMapAttrs (k: v: optionalAttrs (g k v) (f k v)).

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

import ./secrets.nix { inherit lib; }

roberth commented on pull request Fediversity/Fediversity#57 2024-12-13 10:31:01 +01:00
Enter Agenix

idea (optional):