guix/gnu/system
Ludovic Courtès 086df6ef21
system: Define default 'PS1' in /etc/bashrc rather than ~/.bashrc.
Users can override 'PS1' in ~/.bashrc if they wish.

Previously, on Guix Home, the "default" 'PS1' would be set in ~/.bashrc
when 'home-bash-configuration-guix-defaults?' is true, preventing users
from overriding it via the 'environment-variables' field of
'home-bash-extension'.

* gnu/system/shadow.scm (%default-bashrc): Remove 'PS1' setting.
* gnu/system.scm (operating-system-etc-service): Define PS1 in
/etc/bashrc.
* gnu/home/services/shells.scm (add-bash-configuration): When
'home-bash-configuration-guix-defaults?' is true, add a default 'PS1' to
~/.bash_profile.
2023-01-05 15:00:27 +01:00
..
examples
images
accounts.scm
file-systems.scm
hurd.scm
image.scm
install.scm
keyboard.scm
linux-container.scm
linux-initrd.scm
locale.scm
mapped-devices.scm
nss.scm
pam.scm
setuid.scm
shadow.scm system: Define default 'PS1' in /etc/bashrc rather than ~/.bashrc. 2023-01-05 15:00:27 +01:00
uuid.scm
vm.scm