help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix home on foreign distribution


From: Oleg Pykhalov
Subject: Re: Guix home on foreign distribution
Date: Mon, 18 Oct 2021 19:55:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi,

Roland Everaert via <help-guix@gnu.org> writes:

> Is there anything related to file and directory permissions to be set
> on foreign distrubution for guix home to work?
>
> I know that feature is still pretty young and some parts are still in dev, yet
> I have tried it on my fedora 34 system and got the following error, which
> could be related to permission and file ownership:
>
> ...
>
> --8<---------------cut here---------------start------------->8---
> (home-environment
>  (packages (list htop glances password-store dunst ranger restic hunspell
>                  ;; hunspell-dict-fr hunspell-dict-en
>                  ;; guile
>                  neofetch xdotool openssl openvpn xscreensaver))
>  (services
>   (list
>    (service home-bash-service-type
>             (home-bash-configuration
>              (guix-defaults? #t)
>              (bash-profile (list "export HISTFILE=$HOME/.bash_history"))))

This should be a file-like object, e.g. plain-file same as in the test-config.

>    (simple-service 'test-config
>                    home-files-service-type
>                    (list `("config/test.conf"
>                            ,(plain-file "tmp-file.txt"
>                                         "the content of 
> ~/.config/test.conf")))))))
> --8<---------------cut here---------------end--------------->8---

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]