feat: small corrections
This commit is contained in:
parent
962b0962f5
commit
24438e1fb6
3 changed files with 8 additions and 9 deletions
|
@ -194,7 +194,7 @@ in documentation
|
||||||
selfRev = self.rev;
|
selfRev = self.rev;
|
||||||
|
|
||||||
# I often use this pattern due to the above reason
|
# I often use this pattern due to the above reason
|
||||||
selfRev' = if (self ? rev) then self.rev else "FALLBACK"
|
selfRev' = if (self ? rev) then self.rev else "FALLBACK";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -216,7 +216,7 @@ environment.
|
||||||
|
|
||||||
You can set an environment variable to get the right time.
|
You can set an environment variable to get the right time.
|
||||||
|
|
||||||
```
|
```nix
|
||||||
SOURCE_DATE_EPOCH = builtins.toString self.lastModified;
|
SOURCE_DATE_EPOCH = builtins.toString self.lastModified;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@ blog](https://mitchellh.com/writing/nix-with-dockerfiles).
|
||||||
|
|
||||||
## Basic GitHub action
|
## Basic GitHub action
|
||||||
|
|
||||||
A guilty habit I've gotten into is setting up CI for every single project I
|
A habit I've gotten into is setting up CI for every single project I work on
|
||||||
work on and really putting those GitHub actions free minutes to use. It's so
|
and really putting those GitHub actions free minutes to use. It's so trivial
|
||||||
trivial when using Nix, since you literally don't have to do anything extra the
|
when using Nix, since you literally don't have to do anything extra the
|
||||||
majority of the time. Just copy paste in a GitHub action that installs Nix and
|
majority of the time. Just copy paste in a GitHub action that installs Nix and
|
||||||
runs `nix build`. That's it.
|
runs `nix build`. That's it.
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,10 @@ title: "Alexandria: a knowledge garden"
|
||||||
---
|
---
|
||||||
|
|
||||||
Welcome! You've stumbled upon (or perhaps were pointed to) my public-facing
|
Welcome! You've stumbled upon (or perhaps were pointed to) my public-facing
|
||||||
[Zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten), or _knowledge
|
[_knowledge garden_](https://en.wikipedia.org/wiki/Zettelkasten). garden_.
|
||||||
garden_.
|
|
||||||
|
|
||||||
This is where I grow my ideas, and they are meticulously tagged to form the
|
This is where I grow my ideas, and they are meticulously tagged to form the
|
||||||
knowledge webs you see in the top right.
|
knowledge graphs you see in the top right.
|
||||||
|
|
||||||
Currently this is a very new vault and the only contents are the trash notes
|
Currently this is a very new vault and the only contents are the trash notes
|
||||||
which I took in the fall quarter of 2024. You can find them in
|
which I took in the fall quarter of 2024. You can find them in
|
||||||
|
@ -19,7 +18,7 @@ which I took in the fall quarter of 2024. You can find them in
|
||||||
the weekly notes.
|
the weekly notes.
|
||||||
|
|
||||||
If you're interested in the Nix package manager, I've also started maintaining
|
If you're interested in the Nix package manager, I've also started maintaining
|
||||||
a sort of "cheat sheet" or "tips and tricks" collection around variou quirks
|
a sort of "cheat sheet" or "tips and tricks" collection around various quirks
|
||||||
and features of the NixOS / nixpkgs ecosystem in
|
and features of the NixOS / nixpkgs ecosystem in
|
||||||
[[nixos-cheat-sheet]]. Maybe you'll find something useful in
|
[[nixos-cheat-sheet]]. Maybe you'll find something useful in
|
||||||
there!
|
there!
|
||||||
|
|
Loading…
Reference in a new issue