~ruther/guix-local

ref: 7052c66e14eb64b709f0705bc886bc60bb9c382a guix-local/gnu/services d---------
7052c66e — Hilton Chain a month ago
services: gdm: Include system profile in XDG_DATA_DIRS.

* gnu/services/xorg.scm (gdm-shepherd-service)
[start] <#:environment-variables>: Add system profile to XDG_DATA_DIRS so that
we can use fonts installed in it.

Change-Id: Idd11fe0a5d5d57db5459a5c2a9471d1bf640a6ef
e00439c9 — Hilton Chain a month ago
services: guix: Pretty print /etc/guix/channels.scm.

* gnu/services/base.scm (install-channels-file): Pretty print channels.scm.

Change-Id: I692758a4f0a3f6e57b40c95a487c7c843245fe6c
7ef5ba7c — Ian Eure a month ago
gnu: Break circular module cycle.

Commit a9462997d743e4cb4edd557d7ffeeb98048bb4de added the (gnu services
desktop) module to (gnu services xorg).  It’s not actually used, and causes a
module cycle.  Remove it.

* gnu/services/xorg.scm: Remove (gnu services desktop) module.

Change-Id: Id16a3bf149b1c924578cfc8c486dd96fa92674a3
7c0cd7e4 — Rutherther a month ago
Merge branch 'version-1.5.0'

Change-Id: Id73c0c74600a3da3373b3a37236b505af65bfe31
d48e1c71 — Danny Milosavljevic 2 months ago
services: <greetd-terminal-configuration>: Default initial-session-command to (greetd-user-session).

* gnu/services/base.scm (<greetd-terminal-configuration>)[initial-session-command]:
Default to (greetd-user-session).
6d4cb99a — Rutherther a month ago
gnu: %desktop-services: Switch to GDM on 64-bit systems.

* gnu/services/desktop.scm
(desktop-services-for-system): Use gdm on all 64-bit systems.

* gnu/services/xorg.scm (set-xorg-configuration): Adapt to
desktop-services-for-system change.

* gnu/system/examples/desktop.tmpl: Determine the support of Gnome by checking
for supported package.

Fixes: #5388
Change-Id: I0d512a7c31188cea0335e66f00a6d65ae59d09a4
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
ab225019 — Rutherther a month ago
install: Register agetty on primary console on AArch64.

This adds the possibility to parse /proc/consoles to find a primary console.
Then, on AArch64 this is used in the installation image. On AArch64, the boot
usually happens with chosen device tree that contains the serial console.
On x86_64, this does not happen so often, so we keep the installation iso
minimal there.

The primary console is chosen, but there is a fallback to any non-virtual one.
Virtual console (/dev/tty0) is skipped, because that one can point to any
console, like /dev/tty1 and so on. So it's not safe to register agetty on it.

* gnu/build/linux-boot.scm (read-linux-consoles): New variable.
* gnu/services/base.scm (default-serial-console): Use primary console as
fallback.
* gnu/system/install.scm (%installation-services): Add agetty tty for
consoles.

Change-Id: Iae01f7bc85b5ffdef2e52b1d0710889915b0f54a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
32fca2d3 — Sören Tempel 3 months ago
services: radicale: add shepherd configuration action

* gnu/services/mail.scm (radicale-shepherd-service): add configuration
action.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
a651926f — Sergey Trofimov a month ago
services: configuration: Generalize 'list-of-packages?'

* gnu/services/configuration.scm (list-of-packages?): Allow as well
tuples of a package and its output.
* gnu/home/services/sway.scm (list-of-packages): Remove duplicate.

Change-Id: I42622a29ac808c76928e9056dee9330d5e1b3f39
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5470
ac92638b — Danny Milosavljevic 2 months ago
services: Add opensnitch-service.

* gnu/services/opensnitch.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add reference to it.
* doc/guix.texi (Miscellaneous Services, Security): Document it.
* gnu/tests/security.scm (%test-opensnitch): New variable.

Change-Id: I63d1b6636b3aaecf399664ec97383d82ff1391d1
47af617b — Maxim Cournoyer a month ago
services: Add luanti-service-type.

* gnu/services/games.scm (luanti-configuration): New variable.
(%luanti-account): Likewise.
(luanti-activation): New procedure.
(luanti-shepherd-service): Likewise.
(luanti-service-type): New variable.
* gnu/tests/games.scm: New file.

Change-Id: I65a1dcf832fa8add9c9d278d82bab91ca3eef086
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
7d4db1a3 — Ian Eure a month ago
gnu: services: Fix xorg configuration merging.

A bug in #21 causes the default configuration to be omitted from the xorg
merging process.  This can cause users not using set-xorg-configuration or
service extensions to end up with a broken configuration.

Fixes #5267.

* tests/services/xorg.scm: Add a regression test.
* gnu/services/xorg.scm (handle-xorg-configuration): Include the
xorg-configuration record from config in merges.

Change-Id: I6bed8c109057cb9b5de36db68b78e3ccc88e6bcb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
ea4dd4c4 — Maxim Cournoyer a month ago
Revert "services/configuration: Fix case where sub-documentation is nonexistent."

This reverts commit 8b6e9acc268501223a231d50932192f6bb69d34d.

Fixes: <https://issues.guix.gnu.org/79578>
a9462997 — Ian Eure 10 months ago
gnu: Merge xorg configurations when extending.

Configuration for xorg is embedded in the various display-manager
configuration records, and extension support is factored out into the
`handle-xorg-configuration' macro.  However, the extension mechanism replaces
the existing xorg-configuration with the supplied one, making it impossible to
compose configuration from multiple sources.  This patch adds a procedure to
merge two xorg-configuration records, and calls it within
handle-xorg-configuration, allowing the config to be built piecemeal.

* gnu/services/xorg.scm (merge-xorg-configurations): New variable.
(handle-xorg-configuration): Merge xorg configs.

Change-Id: I20e9db911eef5d4efe98fdf382f3084e4defc1ba
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
3d4620ab — Luca Matei Pintilie 5 months ago
services: greetd: Create runfiles in a tmpfs.

Greetd's initial-session (i.e. auto-login) functionality requires runfiles
to be deleted on shutdown.  Use a tmpfs to ensure said runfiles do not linger.

* gnu/services/base.scm (make-greetd-terminal-configuration-file): Add
“runfile” to configuration.
(%greetd-file-systems): Add a tmpfs for “/run/greetd/runfiles”.

Change-Id: I07319d5d8bdb1e18fb0074b67d5c9cb9fb49b04a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
d2c2e7f4 — Ludovic Courtès 2 months ago
services: cuirass-remote-worker: Disable JIT on AArch64.

* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service):
Pass #:environment-variables to ‘make-forkexec-constructor’.

Fixes: guix/guix#5052
Change-Id: Ibbf5aae9c6e62983c8e7f2eda310f68aef2edc8b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5053
addca6db — Rutherther a month ago
Merge branch 'version-1.5.0'

Change-Id: I5a36bbdb772c88f71fbe612cf6c445c34088e35c
9e7e40b8 — Rutherther 2 months ago
services: xorg: Return only supported packages in %default-xorg-modules.

The xorg modules are used inside of services that's thunked. So we can
make them depend on the %current-system.

* gnu/services/xorg.scm
(default-xorg-modules): New variable.
(%default-xorg-modules): Return result of (default-xorg-modules).

Change-Id: I10f722e52d598ce3e83ef3f200b3bd953bc08e17
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
4b25873c — Ashvith Shetty 7 months ago
services: Modernize redis service.

* gnu/services/databases.scm
(redis-configuration): Rewrite using `define-configuration'.
(redis-shepherd-service): Honor it.
* doc/guix.texi (Database Services) <redis>: Regenerate
documentation.

Change-Id: I5b99822ca3d8d23fb5133497d00eada0336d0c65
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #2158
d7fd4eab — Rutherther 2 months ago
services: shared-cache: Require user-file-systems.

Newly user-file-systems should be required by services
that do operations with mounts.

Change-Id: Ib0438bb2e783e1d7131dcea6a8c166e83850de81
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Next