From bf7d450ca033c667ae1c900bb6cd2d88cea7baeb Mon Sep 17 00:00:00 2001 From: Raphael Das Gupta Date: Fri, 19 Mar 2021 13:15:55 +0100 Subject: [PATCH 1/3] fix FAQ markup in README.md so that it renders correctly on GitHub --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aeaa630..0a1728d 100644 --- a/README.md +++ b/README.md @@ -65,16 +65,16 @@ networking.nat = { FAQ --- -####What's a configuration.nix file +#### What's a configuration.nix file See the [NixOS manual](http://nixos.org/nixos/manual/#ch-configuration). -####Isn't this just nix-shell? +#### Isn't this just nix-shell? No. `nix-shell` will drop you into a chroot, with any required build dependencies, but won't handle dependent *services*. `nixos-shell` will drop you into a *containter* which is closer to booting a virtual machine with everything you need. -####Isn't this just nixos-container? +#### Isn't this just nixos-container? Not quite. `nixos-shell` builds on tops of `nixos-container` to spawn a temporary environment. That is, it sets up your environment, gets you logged in, then takes care of tearing it up and tidying up after you when From 79f2a6b4d506e33b2f317a977d259fdfb334ddc1 Mon Sep 17 00:00:00 2001 From: Raphael Das Gupta Date: Fri, 19 Mar 2021 13:18:51 +0100 Subject: [PATCH 2/3] Add blank src line after subsection titles in FAQ --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0a1728d..1607e7d 100644 --- a/README.md +++ b/README.md @@ -66,15 +66,18 @@ FAQ --- #### What's a configuration.nix file + See the [NixOS manual](http://nixos.org/nixos/manual/#ch-configuration). #### Isn't this just nix-shell? + No. `nix-shell` will drop you into a chroot, with any required build dependencies, but won't handle dependent *services*. `nixos-shell` will drop you into a *containter* which is closer to booting a virtual machine with everything you need. #### Isn't this just nixos-container? + Not quite. `nixos-shell` builds on tops of `nixos-container` to spawn a temporary environment. That is, it sets up your environment, gets you logged in, then takes care of tearing it up and tidying up after you when From c0cd5e6909168c0eb109eea2a36c1b139d0ca5b9 Mon Sep 17 00:00:00 2001 From: Raphael Das Gupta Date: Fri, 19 Mar 2021 13:21:04 +0100 Subject: [PATCH 3/3] remove graticous blank lines at EOF --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 1607e7d..51b22c5 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,3 @@ Not quite. `nixos-shell` builds on tops of `nixos-container` to spawn a temporary environment. That is, it sets up your environment, gets you logged in, then takes care of tearing it up and tidying up after you when you log out. - - -