guix/gnu/tests
Maxim Cournoyer c743d646ee
system: Factorize bashrc default configuration.
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
2025-05-26 13:43:03 +09:00
..
data
audio.scm
avahi.scm tests: Move Avahi test to its own file. 2025-03-10 15:41:33 +01:00
base.scm system: Factorize bashrc default configuration. 2025-05-26 13:43:03 +09:00
cachefilesd.scm
ci.scm
containers.scm services: rootless-podman: Enable I/O delegation. 2025-01-11 23:36:58 +01:00
cups.scm
databases.scm services: postgresql-role: Add support for password files. 2025-05-02 15:32:25 +09:00
desktop.scm tests: elogind: Adjust expected output for new version. 2025-04-25 10:42:16 +09:00
dict.scm
dns.scm services: dns: Add unbound service. 2025-01-11 23:36:58 +01:00
docker.scm tests: Adjust for new return value of ‘start-service’. 2024-12-09 23:15:44 +01:00
emacs.scm
file-sharing.scm
foreign.scm tests: Factorize ‘guix-daemon’ test cases. 2025-03-10 15:41:34 +01:00
ganeti.scm tests: ganeti: Increase VM memory size. 2025-03-23 19:30:32 +01:00
gdm.scm
guix.scm tests: Adjust for new return value of ‘start-service’. 2024-12-09 23:15:44 +01:00
image.scm
install.scm tests: Make ‘operating-system-with-console-syslog’ public. 2025-03-23 19:30:12 +01:00
ldap.scm tests: Adjust for new return value of ‘start-service’. 2024-12-09 23:15:44 +01:00
lightdm.scm
linux-modules.scm
mail.scm tests: dovecot: Add sieve. 2025-02-25 10:57:51 +00:00
mcron.scm tests: Move mcron test to its own file. 2025-03-10 15:41:33 +01:00
messaging.scm tests: Fix failing 'guix-system-tests' derivation during 'guix pull'. 2025-04-22 14:09:40 +09:00
monitoring.scm tests: Adjust for new return value of ‘start-service’. 2024-12-09 23:15:44 +01:00
networking.scm services: dnsmasq: Add stats and reload shepherd actions. 2025-05-16 17:01:11 +09:00
nfs.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
package-management.scm
pam.scm
reconfigure.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
rsync.scm
samba.scm
sddm.scm
security-token.scm
security.scm
shadow.scm gnu: Add tests/shadow.scm 2024-12-18 21:31:43 +01:00
singularity.scm
ssh.scm tests: Adjust for new return value of ‘start-service’. 2024-12-09 23:15:44 +01:00
telephony.scm
upnp.scm home: services: Add readymedia. 2025-05-18 22:55:54 +02:00
version-control.scm
virtualization.scm services: libvirt: Add UEFI firmware support. 2025-03-27 21:21:06 +09:00
vnc.scm
vnstat.scm
web.scm tests: web: Add nginx+anonip test. 2025-02-13 00:07:21 +09:00