summaryrefslogtreecommitdiff
path: root/gnu/installer/services.scm
AgeCommit message (Collapse)Author
2026-01-31installer: Handle service configurations for desktop environments without a ↵Hilton Chain
snippet. Fixes one of the issues in #5612. * gnu/installer/services.scm (system-services->configuration): Check ‘desktop?’ before skipping modifying system services. Change-Id: I1fa4670ab3fc8ad445c296ead0df565313b09d95 Merges: #5651
2026-01-31installer: system-services->configuration: Simplify returning sexp.Hilton Chain
* gnu/installer/services.scm (system-services->configuration): Simplify returning sexp to improve readability. Change-Id: I02a91523bcf4af1b6fe6476ab2f0e390559a8457
2026-01-25installer: Add fonts to cover all languages for desktop installation.Hilton Chain
* gnu/installer/services.scm (system-services->configuration): Install font-google-noto, font-google-noto-emoji and font-sarasa-gothic when using a desktop environment. Fixes: #5613 Merges: #5654 Change-Id: Ie6e0af004969158bad316f0fcf886519cf3bdc7d
2025-11-04installer: Add Sway as an option in the Desktop environment page.Fredrik Salomonsson
* gnu/installer/services.scm (%system-services): desktop-environment for sway and its minimal companion packages. * gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests): Add sway and its companion packages to operating-system packages. Change-Id: I22f4cb67752ce1a15009680a1ba081fae129d45a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03installer: Add KDE Plasma desktop environment.Rutherther
* gnu/installer/services.scm (%system-services): Add KDE Plasma environment. * gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests): Add plasma-desktop-service-type to operating-system services. (%test-gui-inst)led-desktop-os-encrypted): Extend side for Plasma. Change-Id: Iaf55bb85f40865ee5b79abef23a98a3e04a1e244 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-02tests: installer: Fix gui-installed-desktop-os-encrypted.Mathieu Othacehe
* gnu/installer/services.scm (%system-services): Fix a typo. Fixes: guix/guix#3636 Change-Id: I9b94474124df4da87784157d25fe39a1887c743b
2025-10-22installer: Do not use LatGrkCyr console font for Esperanto.Florian Pelz
* gnu/installer/services.scm (system-services->configuration): Don't match `eo'. Change-Id: I46ba7dd737141c25ce9a9fcf164ae431e2ed4b33
2025-10-22installer: Fix installing services depending on language.Florian Pelz
Follow-up to d2475833e4ca8238a8254b774a94bd8d973e8cb5. * gnu/installer/services.scm (system-services->configuration): Match on language without territory code. Change-Id: I70be271217732401be4c62dc472f1ebe4dafb764
2025-07-24gnu: installer: Replace deprecated dhcp client service.Gabriel Wicki
* gnu/installer/services.scm(system-service) [snippet]: Replace dhcp service. Change-Id: Ia345704ebcea747b91fd3c357437d2479a5c11c2
2025-06-30gnu: installer: Remove enlightenment desktop option.Efraim Flashner
* gnu/installer/services.scm (%system-services): Remove enlightenment-desktop-service-type. * gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests): Remove enlightenment-desktop-service-type. * etc/manifests/cross-compile.scm (%system-packages): Remove enlightenment. * etc/manifests/release.scm (%system-packages): Remove enlightenment. Change-Id: I79cd8fc13ea0fda5eef72aee783b26edc77dcb5e
2025-03-01installer: Include icewm as a desktop environment.Andy Tai
* gnu/installer/services.scm (%system-services): Include icewm as a desktop environment. * gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests): Add icewm to the list of packages. * etc/manifests/release.scm: (%system-packages): Add icewm. Change-Id: I881c1dd4289281e51c81d83fac785ef064e6ff6a Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-11-11installer: Add static-networking template.Janneke Nieuwenhuizen
* gnu/installer/services.scm (%system-services): Add static-networking-service-type. Change-Id: Iec6336f8d1f49e8b801e978d5c9eeb4f83a6e748
2024-11-11installer: Add "Kernel" page to select the Hurd.Janneke Nieuwenhuizen
This adds a "Kernel" page to the installer with the option to (cross-) install the Hurd, if applicable (only available on x86 machines for now). * gnu/installer/newt.scm (kernel-page): New procedure. (newt-installer)[kernel-page]: New field. * gnu/installer/kernel.scm, gnu/installer/newt/kernel.scm: New files. * gnu/local.mk (INSTALLER_MODULES): Add them. * gnu/installer.scm (installer-steps): Use them to select kernel if applicable. * gnu/installer/newt/partition.scm (run-label-page): Default to "msdos" when instaling the Hurd. (run-fs-type-page): Add ext2 for the hurd. (run-partitioning-page-partition): Remove `entire-encrypted' option when installing the Hurd. * gnu/installer/services.scm (system-services->configuration): Cater for the Hurd with %base-services/hurd, and with %base-packages/hurd that must always be set. (%system-services): Change to procedure. When installing the the Hurd, do not recommend `ntp-service-type' and USE `openssh-sans-x' package for `openssh-service-type'. (system-service-none): New variable. * gnu/installer/newt/services.scm (run-network-management-page): Include it when installing the Hurd. (run-desktop-environments-cbt-page): When installing the Hurd, recommend to not select any desktop enviroment. Update users. * gnu/installer/parted.scm (efi-installation?): Return #f when installing for the Hurd. (create-ext2-file-system): New procedure. (user-fs-type-name, user-fs-type->mount-type, partition-filesystem-user-type, format-user-partitions): Support `ext2'. (<user-partition> partition->user-partition): Use `ext2' when installing the Hurd. (auto-partition!): Likewise. No swap partition when installing the Hurd. * gnu/installer/final.scm (install-system): Cater for cross installation of the Hurd. (bootloader-configuration): Use `grub-minimal-bootloader' when installing the Hurd. (user-partition-missing-modules): Cater for empty user-partitions. (initrd-configuration, user-partitions->configuration): Cater for the Hurd. * gnu/installer/steps.scm (format-configuration, configuration->file): Cater for the Hurd. * gnu/system/hurd.scm (%desktop-services/hurd): New variable. * gnu/installer/tests.scm (choose-kernel): New procedure. * gnu/tests/install.scm (gui-test-program): Use it. Change-Id: Ifafb27b8a2f933944c77223a27ec151757237e36
2024-04-18system: Remove nss-certs from OS templates, adjust doc.Maxim Cournoyer
This is a follow-up to commit 86afaadb51 ("system: Add 'nss-certs' to %base-packages-networking.") * doc/guix-cookbook.texi (Running Guix on a Linode Server): Remove nss-certs from operating system's packages field. (Running Guix on a Kimsufi Server): Likewise. * doc/guix.texi (Using the Configuration System): Likewise. (X.509 Certificates): Adjust to mention nss-certs *is* part of %base-packages. * gnu/installer/services.scm (%system-services): Remove recommendation to install nss-certs. * gnu/system/examples/bare-bones.tmpl (host-name): Remove obsolete comments. * gnu/system/examples/desktop.tmpl (packages): Remove nss-certs. * gnu/system/examples/lightweight-desktop.tmpl (packages): Likewise. * gnu/system/examples/plasma.tmpl (packages): Likewise. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl (packages): Likewise. * gnu/system/examples/raspberry-pi-64.tmpl (packages): Likewise. * gnu/system/examples/vm-image.tmpl (packages): Likewise. * gnu/system/images/orangepi-r1-plus-lts-rk3328.scm (packages): Likewise. * gnu/system/images/pine64.scm (packages): Likewise. * gnu/system/install.scm (installation-os) [packages]: Likewise. Change-Id: If09123a69b987178bcb0aab61c4570c14fc1286f
2023-07-06installer: Restore LatGrkCyr-8x16 console font depending on language.Denys Nykula
Partially-Fixes: <https://issues.guix.gnu.org/64006> * gnu/installer/services.scm (system-services->configuration): When the LANGUAGE environment variable matches a known native console font, wrap the base services with modify-services, configuring console-font-service-type to set the native console font on every tty instead of the default console font. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-11-20installer: Add comment above the 'packages' field.Ludovic Courtès
* gnu/installer/services.scm (system-services->configuration): Add heading above the 'packages' field. Rename 'heading' to 'service-heading'.
2022-08-08installer: Add comments and vertical space to the generated config.Ludovic Courtès
* gnu/installer/parted.scm (user-partitions->configuration): Introduce vertical space and a comment. * gnu/installer/services.scm (G_): New macro. (%system-services): Add comment for OpenSSH. (system-services->configuration): Add vertical space and comments. * gnu/installer/user.scm (users->configuration): Add comment. * gnu/installer/steps.scm (format-configuration): Add comment. (configuration->file): Expound leading comment. Pass #:format-comment to 'pretty-print-with-comments/splice'.
2021-12-28installer: Offer 'gpm-service-type' for non-graphical systems.Leo Famulari
* gnu/installer/services.scm (%system-services): Add the gpm-service-type.
2021-12-28installer: Recommend 'ntp-service-type' for non-graphical systems.Leo Famulari
We had several bug reports with a root cause of "the clock was incorrect" from users who used the installer to install a non-graphical Guix System. * gnu/installer/services.scm (%system-services): Add the ntp-service-type. * gnu/installer/newt/services.scm (run-system-administration-cbt-page): New variable. (run-services-page): Use run-system-administration-cbt-page when not installing a desktop. * gnu/installer/tests.scm (choose-services): Add and use a choose-misc-service? procedure. * gnu/tests/install.scm (installation-target-os-for-gui-tests)<services>: Add ntp-service-type.
2021-06-30installer: Offer the CUPS printing service.Tobias Geerinckx-Rice
* gnu/installer/services.scm (%system-services): Add CUPS. * gnu/installer/newt/services.scm (run-other-services-cbt-page): New procedure. (run-services-page): Call it last.
2021-06-23installer: Remove unused procedure.Tobias Geerinckx-Rice
NETWORKING-SYSTEM-SERVICE? was obsoleted in commit 2e55f37c0c8fdfbc413edff61490161648a78dcc. * gnu/installer/services.scm (networking-system-service?): Remove it.
2020-12-11Revert "services: openssh: Warn about 'password-authentication?' default."Ludovic Courtès
This reverts commit aecd2a13cbd8301d0fdeafcacbf69e12cc3f6138 for two reasons: 1. The warning would fire every time (gnu services ssh) is loaded; 2. There's still no clear consensus on the approach to follow as discussed in <https://issues.guix.gnu.org/44808>.
2020-12-07services: openssh: Warn about 'password-authentication?' default.Ludovic Courtès
Fixes <https://bugs.gnu.org/44808>. Reported by Christopher Lemmer Webber <cwebber@dustycloud.org>. * gnu/services/ssh.scm (true-but-soon-false): New procedure. (<openssh-configuration>)[password-authentication?]: Change default to 'true-but-soon-false'. * gnu/installer/services.scm (%system-services): Explicitly set 'password-authentication?' to #f.
2020-10-13installer: Add Emacs EXWM desktop environment.Jan (janneke) Nieuwenhuizen
Suggested by zenny via IRC. * gnu/installer/services.scm (%system-services): Add emacs, emacs-exwm, emacs-desktop-environment. * etc/release-manifest.scm (%system-packages): Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests) [packages]: Likewise * gnu/installer/newt/services.scm (run-desktop-environments-cbt-page): Make one entry taller.
2019-06-07installer: Install xterm alongside ratpoison.Ludovic Courtès
* gnu/installer/services.scm (%system-services) <"ratpoison">: Add xterm.
2019-06-07installer: Install companion packages alongside i3.Ludovic Courtès
Fixes <http://bugs.gnu.org/36008>. Suggested by Giovanni Biscuolo <g@xelera.eu>. * gnu/installer/services.scm (%system-services) <"i3">: Add i3status, dmenu, and st.
2019-05-03installer: Ensure 'packages' field is a superset of '%base-packages'.Ludovic Courtès
Fixes <https://bugs.gnu.org/35541>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. * gnu/installer/services.scm (system-services->configuration): Generate a snippet that appends PACKAGES to %BASE-PACKAGES.
2019-04-28installer: Add 'nss-certs' to the networking services.Ludovic Courtès
Fixes <https://bugs.gnu.org/35469>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. * gnu/installer/services.scm (%system-services): Add service for 'nss-certs', with 'recommended?' set to #t.
2019-04-28installer: Recommended services are pre-selected.Ludovic Courtès
* gnu/installer/services.scm (<system-service>)[recommended?]: New field. * gnu/installer/newt/services.scm (run-desktop-environments-cbt-page): Pass #:selection to 'run-checkbox-tree-page', computed from the 'recommended?' field of each service. (run-networking-cbt-page): Likewise.
2019-04-17installer: Desktop environment page now includes window managers.Ludovic Courtès
* gnu/installer/services.scm (<system-service>)[snippet]: Change to be a list of sexps and add default value. [packages]: New field. (%system-services): Adjust 'snippet' fields to be lists of sexps. Add Openbox, awesome, i3, and ratpoison. (system-services->configuration): Adjust 'snippet' handling. Honor 'packages' field.
2019-04-14installer: Fix snippet for the DHCP client.Ludovic Courtès
* gnu/installer/services.scm (%system-services): Fix typo in DHCP client snippet.
2019-04-14installer: Add wpa-supplicant along with NetworkManager and Connman.Ludovic Courtès
* gnu/installer/services.scm (%system-services) <network-manager, connman>: Add a 'wpa-supplicant-service-type' instance. (system-services->configuration): Unsplice it.
2019-04-08installer: Use 'append' and 'list' instead of 'cons*'.Ludovic Courtès
* gnu/installer/services.scm (system-services->configuration): Use 'append' and 'list' instead of 'cons*'.
2019-04-08installer: Generate 'set-xorg-configuration' snippet.Ludovic Courtès
* gnu/installer/services.scm (system-services->configuration): Add 'set-xorg-configuration' service. * gnu/installer/steps.scm (format-configuration): Add 'xorg' service module.
2019-04-08installer: Xfce service uses the 'service' form.Ludovic Courtès
* gnu/installer/services.scm (%system-services): Adjust Xfce snippet to use the 'service' form.
2019-04-07installer: Internationalize service "names".Ludovic Courtès
* gnu/installer/services.scm (%system-services): Mark networking service names with 'G_'. * gnu/installer/newt/services.scm (run-networking-cbt-page): Pass 'system-service-name' through 'G_'.
2019-04-07installer: Offer NM, Connman, and DHCP to non-desktop installs.Ludovic Courtès
* gnu/installer/services.scm (%system-services): Add NetworkManager, Connman, and the DHCP client. * gnu/installer/newt/services.scm (run-networking-cbt-page): Add 'network-management?' parameter and honor it. (run-services-page): Adjust call accordingly.
2019-04-07installer: Add dialog to select networking services.Ludovic Courtès
* gnu/installer/newt/services.scm (run-networking-cbt-page): New procedure. (run-services-page): Call it. * gnu/installer/services.scm (%system-services): Add OpenSSH and Tor. (networking-system-service?): New procedure. * gnu/installer/steps.scm (format-configuration): Add 'networking' and 'ssh' to the service modules.
2019-04-07installer: Generalize desktop environments to system services.Ludovic Courtès
* gnu/installer/services.scm (<desktop-environment>): Rename to... (<system-service>): ... this. Add a 'type' field. (%desktop-environments): Rename to... (%system-services): ... this. (desktop-system-service?): New procedure. (desktop-environments->configuration): Rename to... (system-services->configuration): ... this. Determine the base list of services based on whether SERVICES contains at least one "desktop" service. * gnu/installer/newt/services.scm (run-desktop-environments-cbt-page): Adjust accordingly. * gnu/installer.scm (installer-steps): Likewise.
2019-03-27services: Deprecate 'xfce-desktop-service'.Ludovic Courtès
* gnu/services/desktop.scm (xfce-desktop-service-type)[default-value] [description]: New fields. (xfce-desktop-service): Deprecate. * gnu/system/examples/desktop.tmpl: Use the (service …) form. * gnu/installer/services.scm (%desktop-environments): Add TODO comment. * doc/guix.texi (Desktop Services): Adjust accordingly, and fix spelling of "Xfce" throughout.
2019-03-27services: Deprecate 'gnome-desktop-service'.Ludovic Courtès
* gnu/services/desktop.scm (gnome-desktop-service-type)[default-value]: New field. (gnome-desktop-service): Deprecate. * gnu/installer/services.scm (%desktop-environments): Use the (service …) form for GNOME. * gnu/system/examples/desktop.tmpl: Likewise. * doc/guix.texi (Desktop Services): Adjust accordingly.
2019-03-27installer: Use the (service …) form for MATE.Ludovic Courtès
* gnu/installer/services.scm (%desktop-environments): Use 'mate-desktop-service-type' for MATE.
2019-01-17installer: Add services page.Mathieu Othacehe
Add a page to select services, for now only desktop environments choice is available. * gnu/installer.scm (steps): Add services step. * gnu/installer/newt.scm (newt-installer): Add services-page field. * gnu/installer/newt/services.scm: New file. * gnu/installer/record.scm (installer): Add services-page field. * gnu/installer/services.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add new files. * po/guix/POTFILES.in: Add new files.