~ruther/guix-local

ea0e9ce2e6d0c99106c47ee32203b92933a837de — Ludovic Courtès 12 years ago 7a03af7
gnu: Move root's home directory to /root.

* gnu/system.scm (operating-system-derivation): Change root's
  'home-directory' to "/root".
* gnu/system/vm.scm (operating-system-default-contents): Add /root.
2 files changed, 2 insertions(+), 1 deletions(-)

M gnu/system.scm
M gnu/system/vm.scm
M gnu/system.scm => gnu/system.scm +1 -1
@@ 317,7 317,7 @@ alias ll='ls -l'
                            (password "")
                            (uid 0) (gid 0)
                            (comment "System administrator")
                            (home-directory "/"))
                            (home-directory "/root"))
                          (append (operating-system-users os)
                                  (append-map service-user-accounts
                                              services))))

M gnu/system/vm.scm => gnu/system/vm.scm +1 -0
@@ 485,6 485,7 @@ basic contents of the root file system of OS."
              (directory "/tmp")
              (directory "/var/nix/profiles/per-user/root" 0 0)

              (directory "/root" 0 0)             ; an exception
              ,@(append-map user-directories
                            (operating-system-users os))))))