mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
This factorizes out the remaining bashrc bits from /etc/skel/.bashrc to a the template used for both /etc/bashrc on Guix System and ~/.bashrc for home-bash-service-type. Rationale: The use of /etc/skel introduce state: the file is only copied originally when the user account is created, and never (automatically) refreshed again. * gnu/system.scm (operating-system-etc-service): <profile>: Guard against souring /etc/bashrc in non-interactive, SSH case. <bashrc>: Use %default-bashrc, having migrated the remaining definitions to... * gnu/system/shadow.scm (%default-bashrc): ... here. Factorize aliases to... * gnu/services.scm (%default-bash-aliases): ... here. (%default-bashrc-d-aliases): New variable. (%default-etc-bashrc-d-files): Include it in the default configuration. * gnu/services/base.scm (%base-services): Register etc-bashrc-d-service-type. * gnu/home/services/shells.scm (add-bash-configuration): Do not set PS1, now part of %default-bashrc. (home-bash-configuration) [guix-defaults?]: Update doc. [aliases]: Set %default-bash-aliases as the default value. Update doc. * doc/guix.texi (Shells Home Services): Update documentation. (Service Reference): Update example. Change-Id: I340c614983a78fd20a9c4a9705e7fc542ae9b513 |
||
|---|---|---|
| .. | ||
| data | ||
| audio.scm | ||
| avahi.scm | ||
| base.scm | ||
| cachefilesd.scm | ||
| ci.scm | ||
| containers.scm | ||
| cups.scm | ||
| databases.scm | ||
| desktop.scm | ||
| dict.scm | ||
| dns.scm | ||
| docker.scm | ||
| emacs.scm | ||
| file-sharing.scm | ||
| foreign.scm | ||
| ganeti.scm | ||
| gdm.scm | ||
| guix.scm | ||
| image.scm | ||
| install.scm | ||
| ldap.scm | ||
| lightdm.scm | ||
| linux-modules.scm | ||
| mail.scm | ||
| mcron.scm | ||
| messaging.scm | ||
| monitoring.scm | ||
| networking.scm | ||
| nfs.scm | ||
| package-management.scm | ||
| pam.scm | ||
| reconfigure.scm | ||
| rsync.scm | ||
| samba.scm | ||
| sddm.scm | ||
| security-token.scm | ||
| security.scm | ||
| shadow.scm | ||
| singularity.scm | ||
| ssh.scm | ||
| telephony.scm | ||
| upnp.scm | ||
| version-control.scm | ||
| virtualization.scm | ||
| vnc.scm | ||
| vnstat.scm | ||
| web.scm | ||