more edits

Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-04-30 16:44:38 -04:00
parent f535bac942
commit 2208703487
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
title: "Nix Flakes on WSL" title: "Nix Flakes on WSL"
date: 2022-05-04 date: 2022-05-01
series: nix-flakes series: nix-flakes
tags: tags:
- nixos - nixos
@ -298,6 +298,13 @@ Then we can add `gohello` to our system flake:
} }
``` ```
<xeblog-conv name="Mara" mood="hacker">The block of code under
<code>gohello.nixosModule</code> is an inline NixOS module. If we put
<code>gohello.nixosModule</code> before the <code>./configuration.nix</code>
reference, we could put the <code>xeserv.services.gohello.enable = true;</code>
line inside <code>./configuration.nix</code>. This is an exercise for the
reader.</xeblog-conv>
And rebuild the system with `gohello` enabled: And rebuild the system with `gohello` enabled:
``` ```