GNU bug report logs -
#68857
gnu: home: dotfiles: Avoid creating extra directory in $HOME.
Previous Next
Reported by: paul <goodoldpaul <at> autistici.org>
Date: Wed, 31 Jan 2024 22:17:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 68857 <at> debbugs.gnu.org (full text, mbox):
Hi Paul,
paul <goodoldpaul <at> autistici.org> writes:
> Hi everyone,
>
> thank you for your help and comments so far. I have a proposal
> that should:
>
> - solve https://issues.guix.gnu.org/68848
>
> - allow for both plain and GNU Stow's layouts
>
> - for GNU Stow layouts, allows to select a subset of application
> dotfiles to be
> provisioned in the user's home directory. Please Sergey let me
> know if this
> covers your use case .
>
My dotfiles tree is (relative to ~/.dotfiles):
./guix/home.scm
./backup/.config/..
./android/.config/..
...
It works with such config:
--8<---------------cut here---------------start------------->8---
(service home-dotfiles-service-type
(home-dotfiles-configuration
(directories
(list
(home-dotfiles-stow-directory
(name "..")
(applications
'("backup"
"android"
"email"
"xsession"
"git"
"qutebrowser"
"desktop")))))))
--8<---------------cut here---------------end--------------->8---
`name` is in fact a relative path, so this field should be
renamed.
`applications` are called `PACKAGES` in `stow` man page, so I'd
rename it to match.
This bug report was last modified 1 year and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.