-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added slides for NixCon NA 2024.
- Loading branch information
Showing
3 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
pkgs, | ||
parentPath, | ||
}: let | ||
inherit (pkgs) lib; | ||
|
||
markdowns = ( | ||
builtins.removeAttrs | ||
(builtins.readDir parentPath) | ||
["default.nix"] | ||
); | ||
|
||
md2slides = name: _: ( | ||
let | ||
slide-name = "slides-" + (lib.removeSuffix ".md" name); | ||
filepath = (builtins.toString parentPath) + "/" + name; | ||
in | ||
(builtins.trace filepath) | ||
lib.nameValuePair | ||
slide-name | ||
( | ||
pkgs.writeShellApplication | ||
{ | ||
name = slide-name; | ||
runtimeInputs = [pkgs.reveal-md]; | ||
text = '' | ||
reveal-md ${filepath} | ||
''; | ||
} | ||
) | ||
); | ||
|
||
slides = | ||
lib.mapAttrs' | ||
md2slides | ||
markdowns; | ||
in | ||
slides |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
theme: beige | ||
--- | ||
|
||
# Basic NixOS Modules | ||
|
||
Daniel Baker (@djacu) | ||
|
||
--- | ||
|
||
# Shout Out | ||
|
||
- @davidnuon | ||
- @fricklerhandwerk | ||
- @ibizaman | ||
- @infinisil | ||
- @sarcasticadmin | ||
- @YorikSar | ||
|
||
--- | ||
|
||
# Source | ||
|
||
https://github.com/djacu/ | ||
|
||
https://nixos-modules.nix.みんな/ | ||
|
||
https://nixos-modules.nix.xn--q9jyb4c/ | ||
|
||
https://github.com/djacu/nixos-modules-lessons/ |
9786f0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://nixos-modules.nix.xn--q9jyb4c as production
🚀 Deployed on https://65eac80e435fdd5341fe1301--nixos-modules-lessons.netlify.app