Age | Commit message (Expand) | Author |
2024-09-29 | home: services: Add newline to XDG_RUNTIME_DIR warning....* gnu/home/services.scm: Add end-of-text newline to warning printed by
on-first-login script when XDG_RUNTIME_DIR does not exist.
Change-Id: I3bfe2c415f6941fa9a2231ab2a0be53db965053f
Signed-off-by: Hilton Chain <hako@ultrarare.space>
| Richard Sent |
2024-01-28 | home: services: Add missing import....* gnu/home/services.scm: Import (srfi srfi-34) for ‘raise’.
Change-Id: Ib0e8d134f3953c78a09b623f697e7e5b251d5611
| Ludovic Courtès |
2023-10-27 | home: services: Fix regression in generated ‘on-first-login’ script....Fixes <https://issues.guix.gnu.org/66659>.
Fixes a regression introduced in 6b0a32196982a0a2f4dbb59d35e55833a5545ac6. The
first attempt in e098ba2f499bbddfea50c85058e4077e39b85513 to fix this issue didn't work.
* gnu/home/services.scm (compute-on-first-login-script): Add
‘begin *unspecified*’ around #$@gexps.
Change-Id: I14339ad684ffe93e692e507b57dcd221d96210ef
Signed-off-by: Clément Lassieur <clement@lassieur.org>
| Rostislav Svoboda |
2023-10-21 | home: services: Fix regression in generated ‘on-first-login’ script....Fixes <https://issues.guix.gnu.org/66659>.
Fixes a regression introduced in
6b0a32196982a0a2f4dbb59d35e55833a5545ac6.
* gnu/home/services.scm (compute-on-first-login-script): Add ‘begin’
around #$@gexps.
Reported-by: Nils Landt <nils@landt.email>
| Ludovic Courtès |
2023-10-20 | home: services: Fix race condition when detecting first login....* gnu/home/services.scm (compute-on-first-login-script): Use open-fdes to
atomically check whether a file exists and create it if not.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| Carlo Zancanaro |
2023-08-20 | home: services: Support mapping of System services to Home services....* gnu/home/services.scm (service-type-mapping)
(system->home-service-type): New procedures.
(define-service-type-mapping, define-service-type-mappings): New macros.
(%system/home-service-type-mapping): New variable.
<top level>: Use 'define-service-type-mappings'.
* gnu/home/services/shepherd.scm <top level>: Likewise.
| Ludovic Courtès |
2023-07-11 | home: services: bash: Properly quote shell aliases....Fixes <https://issues.guix.gnu.org/63048>.
Reported by Ekaitz Zarraga <ekaitz@elenq.tech>.
* gnu/home/services.scm (with-shell-quotation-bindings): New procedure.
(environment-variable-shell-definitions): Use it instead of inline copy.
* gnu/home/services/shells.scm (bash-serialize-aliases): Use it. Add
clause for 'literal-string?'.
* tests/guix-home.sh: Add 'aliases' to 'home-bash-extension' and test it.
| Ludovic Courtès |