generated from srid/emanote-template
-
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.
Merge branch 'master' into nixos-install-manual-disko
- Loading branch information
Showing
68 changed files
with
1,010 additions
and
579 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 |
---|---|---|
|
@@ -26,4 +26,3 @@ jobs: | |
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./result/ | ||
cname: nixos.asia |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- | ||
order: 15 | ||
feed: | ||
enable: true | ||
enable: false | ||
title: NixOS Asia Blog | ||
--- | ||
|
||
# Blog | ||
|
||
Recent posts: | ||
>[!warning] WIP | ||
> We don't have any posts yet. Checkout our [[tutorial]] in the meanwhile. | ||
```query {.timeline} | ||
children:. | ||
``` | ||
An RSS feed will be made available soon (cf. [this bug](https://github.com/srid/emanote/issues/490)). |
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...l/nixos-install/configuration-as-flake.md → en/configuration-as-flake.md
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
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,13 @@ | ||
|
||
# Events | ||
|
||
We host events to bring together the community. Our primary venue is in [Bangalore]. | ||
|
||
## Upcoming events | ||
|
||
```query {.timeline} | ||
children:. | ||
``` | ||
|
||
|
||
[Bangalore]: https://en.wikipedia.org/wiki/Bangalore |
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,9 @@ | ||
template: | ||
sidebar: | ||
enable: false | ||
uptree: | ||
enable: true | ||
breadcrumbs: | ||
enable: true | ||
base: | ||
containerClass: container mx-auto max-w-prose |
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,24 @@ | ||
--- | ||
date: 2023-01-23 | ||
author: srid | ||
--- | ||
|
||
# Getting Started with Nix for Haskell & Rust | ||
|
||
:::{.center} | ||
| When | Where | | ||
| ----------------------------------------------------- | ------------------------------------------------- | | ||
| Tuesday, January 23, 2024 at 4PM | [IndiQube Garden, Bengaluru][map-indiqube-garden] | | ||
::: | ||
|
||
[Sridhar Ratnakumar][srid] will demonstrate the delights of using [[nix|Nix]] to [[dev|develop]] [[rust|Rust]] as well as [[haskell|Haskell]] projects without needing to do any manual global setup on your system. We'll start from a pristine [[macos|macOS]] machine as well as a pristine Linux machine to get our [[dev|development environment]] up and running in no time, all the way up to [LSP] support in VSCode | ||
|
||
RSVP links: | ||
|
||
- [The Bangalore Haskell User Group](https://www.meetup.com/the-bangalore-haskell-user-group/events/298349003) | ||
|
||
![[vscode-haskell-template.png]] | ||
|
||
[srid]: https://x.com/sridca | ||
[map-indiqube-garden]: https://www.google.com/maps/place/12%C2%B056'12.0%22N+77%C2%B037'17.5%22E/@12.936661,77.62153,17z/data=!3m1!4b1!4m4!3m3!8m2!3d12.936661!4d77.62153?entry=ttu | ||
[LSP]: https://langserver.org/ |
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
|
||
# flake-parts | ||
|
||
A #[[modules]] for #[[flakes]]. See https://flake.parts/ & https://community.flake.parts/ | ||
`flake-parts` brings the #[[modules|NixOS module system]] to #[[flakes|flakes]], thus providing a cleaner and simpler way to write otherwise complex flakes. | ||
|
||
- Official site: https://flake.parts/ | ||
- Module documentation: https://community.flake.parts/ |
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,4 @@ | ||
|
||
# Flake URL | ||
|
||
#[[flakes|Flakes]] are referred using an URL-like syntax that is documented [here](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake.html#url-like-syntax). |
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
|
||
# Haskell | ||
|
||
For nixifying Haskell projects, see https://github.com/srid/haskell-flake | ||
For nixifying Haskell projects, see our tutorial series [[nixify-haskell]] | ||
|
||
For further details, https://nixos.wiki/wiki/Haskell | ||
For a comprehensive list of ways to nixify Haskell projects, see https://nixos.wiki/wiki/Haskell | ||
|
||
```query | ||
children:. | ||
``` | ||
|
||
[haskell-flake]: https://github.com/srid/haskell-flake |
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,10 @@ | ||
|
||
# home-manager Tutorial Series | ||
|
||
![[tutorial-philosophy]] | ||
|
||
A tutorial series on #[[home-manager]], | ||
|
||
- [ ] Setting it up using https://github.com/juspay/nix-dev-home | ||
- [ ] Basics (packages, dotfiles) | ||
- [ ] Services (macOS and Ubuntu) |
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,5 @@ | ||
# Import From Derivation (IFD) | ||
|
||
[[nix|Nix]] expressions are *evaluated* to produce #[[drv|derivations]] (among other values). These derivations when *realized* usually produce the compiled binary packages. Sometimes, realizing a derivation can produce a Nix expression representing another derivation. This generated Nix expression too needs to be *evaluated* to its derivation before it can be *realized*. This secondary evaluation is achieved by `import`ing from the derivation being evaluated, and is called "import from derivation" or IFD. | ||
|
||
For detailed explanation, see [this blog post](https://blog.hercules-ci.com/2019/08/30/native-support-for-import-for-derivation/). |
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,4 @@ | ||
page: | ||
lang: en | ||
template: | ||
editBaseUrl: https://github.com/nixos-asia/website/edit/master/en |
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
--- | ||
order: 10 | ||
--- | ||
|
||
# macOS | ||
|
||
[[nix]] is supported on macOS. | ||
|
||
>[!warning] Darwin support in nixpkgs | ||
> macOS support in [[nixpkgs]] is not of same quality and priority as Linux. See https://github.com/NixOS/nixpkgs/issues/145230 & https://github.com/NixOS/nixpkgs/issues/116341 | ||
|
||
|
||
|
||
|
||
|
||
```query | ||
children:. | ||
``` |
Oops, something went wrong.