help-guix
[Top][All Lists]
Advanced

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

Re: open config.scm with sudo and gedit or emacs


From: SeerLite
Subject: Re: open config.scm with sudo and gedit or emacs
Date: Sun, 12 Mar 2023 06:33:00 -0300

Hi!

On March 12, 2023 4:07:25 AM GMT-03:00, "Boris A. Dekshteyn" 
<boris.dekshteyn@gmail.com> wrote:
>SeerLite <seerlite@disroot.org> writes:
>
>>
>>     sudo guix system reconfigure ~/.config/guix/system-config.scm
>
>sudo -E ...
>

No, that will create root-owned files in ~/.cache. I always get trouble using 
sudo -E because programs tend to create root-owned files under ~.

There's no need for -E as guix doesn't need any environment variable from the 
user to reconfigure, everything is self contained in the `guix` binary and the 
system configuration file.

SeerLite



reply via email to

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