<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/system/accounts.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-03-25T22:37:06Z</updated>
<entry>
<title>accounts: Add default value for the 'home-directory' field of &lt;user-account&gt;.</title>
<updated>2019-03-25T22:37:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-22T13:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=cf848cc0a17a3a58d600116896f6e7abfb0440d4'/>
<id>urn:sha1:cf848cc0a17a3a58d600116896f6e7abfb0440d4</id>
<content type='text'>
* gnu/system/accounts.scm (&lt;user-account&gt;)[home-directory]: Mark as
thunked and add a default value.
(default-home-directory): New procedure.
* doc/guix.texi (User Accounts): Remove 'home-directory' from example.
* gnu/system/examples/bare-bones.tmpl: Likewise.
* gnu/system/examples/beaglebone-black.tmpl: Likewise.
* gnu/system/examples/desktop.tmpl: Likewise.
* gnu/system/examples/docker-image.tmpl: Likewise.
* gnu/system/examples/lightweight-desktop.tmpl: Likewise.
* gnu/system/install.scm (installation-os): Likewise.
* gnu/tests.scm (%simple-os): Likewise.
* gnu/tests/install.scm (%minimal-os, %minimal-os-on-vda):
(%separate-home-os, %encrypted-root-os, %btrfs-root-os): Likewise.
* tests/accounts.scm ("allocate-passwd")
("allocate-passwd with previous state"): Likewise.
</content>
</entry>
<entry>
<title>activation: Operate on &lt;user-account&gt; and &lt;user-group&gt; records.</title>
<updated>2019-03-07T19:05:09Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-03T20:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6061d01512081c93c53fdd1d4302b36696403061'/>
<id>urn:sha1:6061d01512081c93c53fdd1d4302b36696403061</id>
<content type='text'>
* gnu/system/accounts.scm (sexp-&gt;user-group, sexp-&gt;user-account): New
procedures.
* gnu/system/shadow.scm (account-activation): Call them in the arguments
to 'activate-users+groups'.
(account-shepherd-service): Likewise.
* gnu/build/activation.scm (activate-users+groups): Expect a list of
&lt;user-account&gt; and a list of &lt;user-group&gt;.  Replace uses of 'match' on
tuples with calls to record accessors.
(activate-user-home): Likewise.
</content>
</entry>
<entry>
<title>system: Add (gnu system accounts).</title>
<updated>2019-03-07T19:04:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-03T10:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f6f67b87c08fe7b901db834c714aceaef2b62b60'/>
<id>urn:sha1:f6f67b87c08fe7b901db834c714aceaef2b62b60</id>
<content type='text'>
The (gnu system accounts) module is meant to be used both on the build-
and on the host-side.

* gnu/system/shadow.scm &lt;top level&gt;: Call 'default-shell'.
(&lt;user-account&gt;, &lt;user-group&gt;): Move to...
* gnu/system/accounts.scm: ... here.  New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add system/accounts.scm.
</content>
</entry>
</feed>
