diff options
author | EuAndreh <eu@euandre.org> | 2018-07-27 07:00:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-27 07:00:38 -0300 |
commit | 99dcc43ca0447ba4215ef7f61ed2943ed89ee2b9 (patch) | |
tree | 23d02e7eda1aaf950b057acc71c5b142c0514238 /site | |
parent | Add line wrapping to pre tag in pastebin template (diff) | |
download | euandre.org-99dcc43ca0447ba4215ef7f61ed2943ed89ee2b9.tar.gz euandre.org-99dcc43ca0447ba4215ef7f61ed2943ed89ee2b9.tar.xz |
Minor tweaks to Guix in NixOS post
Diffstat (limited to '')
-rw-r--r-- | site/posts/2018-07-17-running-guix-on-nixos.org | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/site/posts/2018-07-17-running-guix-on-nixos.org b/site/posts/2018-07-17-running-guix-on-nixos.org index d23f303..9c3b2ce 100644 --- a/site/posts/2018-07-17-running-guix-on-nixos.org +++ b/site/posts/2018-07-17-running-guix-on-nixos.org @@ -2,7 +2,7 @@ title: Running Guix on NixOS date: 2018-07-17 --- -I wanted to run Guix on a NixOS machine. Even though the Guix manual explains how to do it [[https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation][step by step]], I needed a few extra steps to make it work properly. +I wanted to run Guix on a NixOS machine. Even though the Guix manual explains how to do it [[https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation][step by step]], I needed a few extra ones to make it work properly. I couldn't just install GuixSD because my wireless network card doesn't have any free/libre drivers (yet). ** Creating =guixbuilder= users @@ -19,8 +19,10 @@ do guixbuilder$i; done #+END_SRC -However, In my personal NixOS I have disabled =users.mutableUsers=, which means that even if I run the above command it means that they'll be removed once I rebuild my OS: +However, In my personal NixOS I have disabled [[https://nixos.org/nixos/manual/index.html#sec-user-management][=users.mutableUsers=]], which means that even if I run the above command it means that they'll be removed once I rebuild my OS: #+BEGIN_SRC +$ sudo nixos-rebuild switch +(...) removing user ‘guixbuilder7’ removing user ‘guixbuilder3’ removing user ‘guixbuilder10’ @@ -31,6 +33,7 @@ removing user ‘guixbuilder4’ removing user ‘guixbuilder2’ removing user ‘guixbuilder8’ removing user ‘guixbuilder5’ +(...) #+END_SRC Instead of enabling =users.mutableUsers= I could add the Guix users by adding them to my system configuration: #+BEGIN_SRC nix -n |