Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 19, 2023
1 parent cede906 commit 7e1dde9
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 4 deletions.
84 changes: 80 additions & 4 deletions docs/README.org
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:PROPERTIES:
:ID: fdd55059-5f5c-4407-b4c3-c5366cd6a898
:header-args: :noweb tangle :comments noweb :exports both
:STARTUP: noinlineimages
:PRJ-DIR: .
:END:
#+TITLE: README
Expand All @@ -10,16 +11,91 @@



#+BEGIN_SRC d2 :file images/kubernetes_on_premise.png :flags --theme 200 :exports both :tangle (concat (org-entry-get nil "PRJ-DIR" t) "/kubernetes_on_premise.d2")
#+BEGIN_SRC d2 :file images/omnibus.png :flags --sketch --theme 200 :exports both :tangle (concat (org-entry-get nil "PRJ-DIR" t) "/omnibus.d2")
# !/usr/bin/env d2 --theme 200

system1 -> system2
flake: Flake {
libPops: lib(pops) {
library
exporter: {
pops
}
flakeOutputs

exporter -> flakeOutputs
}

pops: extension system {
outputs: outputs {
packages
}

libPops.flakeOutputs -> outputs
libPops.exporter.library -> outputs.lib: without pops interface
libPops.exporter.pops -> outputs.pops
}

units: units {
nixos: {
nixosModules
homeProfiles
homeModules
homeProfiles
homeModules
}
flake-parts: {
modules
profiles
}
devshell: {
modules
profiles
}
configs: {
treefmt
}
}
extensions: extensions system {
APIs: {
addLoadExtender
addLoadExtenders
addExporters
outputs
}
}

flops: flops(POP) {
haumea: {
type: {
default
nixosModules
nixosProfiles
evalModules
}
load

type -> layouts
}
flake: {
inputs
call-flake
}
}

user: User {shape: person}

extensions <-> user
flops -> extensions
flake.outputs.pops -> extensions
units -> flake.libPops.exporter.pops: loading
flake.libPops.exporter.pops <- flops.haumea: loader
flops.haumea -> extensions.APIs.addLoadExtender
flops.haumea -> extensions.APIs.addLoadExtenders

flops.flake -> subflake
flops.flake -> call-flake: extended inputs

flake.outputs.pops -> extensions: extensions interface
#+END_SRC

#+RESULTS:
[[file:images/kubernetes_on_premise.png]]
[[file:images/omnibus.png]]
Binary file removed docs/images/kubernetes_on_premise.png
Binary file not shown.
Binary file added docs/images/omnibus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 85 additions & 0 deletions docs/omnibus.d2
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# [[file:README.org::+BEGIN_SRC d2 :file images/omnibus.png :flags --sketch --theme 200 :exports both :tangle (concat (org-entry-get nil "PRJ-DIR" t) "/omnibus.d2")][No heading:1]]
# !/usr/bin/env d2 --theme 200

flake: Flake {
libPops: lib(pops) {
library
exporter: {
pops
}
flakeOutputs

exporter -> flakeOutputs
}

outputs: outputs {
packages
}

libPops.flakeOutputs -> outputs
libPops.exporter.library -> outputs.lib: without pops interface
libPops.exporter.pops -> outputs.pops
}

units: units {
nixos: {
nixosModules
homeProfiles
homeModules
homeProfiles
homeModules
}
flake-parts: {
modules
profiles
}
devshell: {
modules
profiles
}
configs: {
treefmt
}
}
extensions: extensions system {
APIs: {
addLoadExtender
addLoadExtenders
addExporters
outputs
}
}

flops: flops(POP) {
haumea: {
type: {
default
nixosModules
nixosProfiles
evalModules
}
load

type -> layouts
}
flake: {
inputs
call-flake
}
}

user: User {shape: person}

extensions <-> user
flops -> extensions
flake.outputs.pops -> extensions
units -> flake.libPops.exporter.pops: loading
flake.libPops.exporter.pops <- flops.haumea: loader
flops.haumea -> extensions.APIs.addLoadExtender
flops.haumea -> extensions.APIs.addLoadExtenders

flops.flake -> subflake
flops.flake -> call-flake: extended inputs

flake.outputs.pops -> extensions: extensions interface
# No heading:1 ends here

0 comments on commit 7e1dde9

Please sign in to comment.