diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-03-06 21:52:42 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-03-06 23:25:51 +0100 |
commit | 01f685d56016ae529381a73daedccc1949b808ec (patch) | |
tree | 61935a2682dcfa69ae4929acd7c896ca6433b4f2 /gnu/packages/rails.scm | |
parent | 9e3061a163abcae5ccd3823ba3d8f757a0478e40 (diff) |
gnu: home: dotfiles: Properly support both plain and Stow directory layouts.
Fixes <https://issues.guix.gnu.org/68848>.
The current implementation of the home-dotfiles-service-type contradicts
the Guix manual. This patch properly implements both the plain and Stow
dotfiles directory layouts.
It does so by refactoring home-dotfiles-configuration adding a new
packages field to support GNU Stow's users workflow and introducing
a new layout field to switch between the two directory layouts.
* gnu/home/services/dotfiles (home-dotfiles-configuration): Migrate to
(gnu services configuration);
[packages]: new field;
[layout]: new field;
(strip-stow-dotfile): new variable;
(strip-plain-dotfile): new variable;
(home-dotfiles-configuration->files): use the new fields;
[directory-contents]: allow for
selecting a subset of application dotfile directories;
* doc/guix.texi: document the new layouts.
Change-Id: I2e96037608353e360828290f055ec5271cfdfd48
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/rails.scm')
0 files changed, 0 insertions, 0 deletions