Hi Peri,

Peri Didaskalou <[email protected]> writes:

> As per the manual, I carefully edited the new user into /etc/config.scm via
> sudo emacs /etc/config.scm
The config file need not be in /etc, it can be anywhere, preferably in a 
user-writable directory under /home so that you need not sudo in order to edit 
it.

> After saving the file and subsequently rebooting, I logged in as myself
Is it possible you missed the reconfigure step? After any change to the config 
file that defines your system, you must run the command ‘sudo -E guix system 
reconfigure /path/to/config-file.scm’ in order that guix build a new generation 
of the system with the changes you made (the -E flag to sudo preserves the 
calling user’s environment, which uses the guix version pulled by them; it is 
not strictly necessary. And otherwise sudo is generally not needed for guix 
commands.). The same command must be run to actually update the system 
generation after running ’guix pull’, just as you might have done when 
installing guix system. The manual mentions this in section 3.7.

Cheers,
Irfan

Reply via email to