diff --git a/slides/demo.md b/slides/demo.md index a4bea13..1ecca0c 100644 --- a/slides/demo.md +++ b/slides/demo.md @@ -54,6 +54,10 @@ flowchart TD I-->J-->K ``` +```nix +beancloud.software.desktop = true; +``` + --- ## History @@ -70,7 +74,8 @@ flowchart TD - [declarative configuration](https://search.nixos.org/options?) (20.000 options) - [package](https://search.nixos.org/packages) count (120.000 + third party) -- Development community on Github and other hosters +- versioned config in Git and on the installed NixOS +- development community on Github and others --- @@ -90,12 +95,17 @@ flowchart TD ```mermaid %%{init: {'theme': 'dark', 'themeVariables': { 'darkMode': true }}}%% flowchart TD - B(Disk & OS Installation) - C[services.nextcloud.enable=true] - D(Nextcloud server) - E[services.nextcloud.package=nextcloud30] - B--> D - D-->C & E + A(Disk & OS Installation) + B(Nextcloud server) + C(MariaDB) + D(nginx) + E(php-fm) + F(Redis) + A--> C & D & E & F --> B +``` + +```nix +beancloud.software.nextcloud.server.enable = true; ``` --- @@ -104,15 +114,18 @@ flowchart TD ```mermaid %%{init: {'theme': 'dark', 'themeVariables': { 'darkMode': true }}}%% -flowchart TD - B(Disk & OS Installation) - E(nspawn container) - F(Gitlab server) - G[services.gitlab.enable=true] - H[services.gitlab.backup.startAt=03:00] - I[services.nginx.enable=true] - B--> E --> F - F-->G & H & I +flowchart LR + A(Disk & OS Installation) + B(nspawn container) + C(NixOS) + D(Gitlab server) + E[Postgres] + F[nginx] + A --> B --> C --> E & F --> D +``` + +```nix +beancloud.software.gitlab = true; ``` --- @@ -122,13 +135,16 @@ flowchart TD ```mermaid %%{init: {'theme': 'dark', 'themeVariables': { 'darkMode': true }}}%% flowchart LR - B(Disk & OS Installation) - G(Podman container) - H(Forgejo) - I[virtualisation.containers.enable=true] - J[virtualisation.oci-containers.containers.forgejo-frontend.image=codeberg.org/forgejo/forgejo:11.0.3-rootless] - K[forgejo-backend.image=docker.io/library/mariadb:11.8.2] - B --> I --> G --> H --> J & K + A(Disk & OS Installation) + B(Podman container) + C(Forgejo) + D[virtualisation.oci-containers.containers.forgejo-frontend.image=codeberg.org/forgejo/forgejo:11.0.3-rootless] + E[forgejo-backend.image=docker.io/library/mariadb:11.8.2] + A --> B --> D & E --> C +``` + +```nix +beancloud.software.forgejo = true; ``` --- @@ -155,6 +171,10 @@ flowchart LR B--> I --> J --> L --> K ``` +```nix +beancloud.software.splunk = true; +``` + --- ## Unexpected stuff diff --git a/slides/flake.nix b/slides/flake.nix index 562c6c2..de79ed6 100644 --- a/slides/flake.nix +++ b/slides/flake.nix @@ -37,6 +37,7 @@ pip install mkslides --upgrade deactivate alias mkslides='.venv/bin/mkslides' + mkslides serve demo.md ''; }; }