diff options
Diffstat (limited to 'site')
-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 |