summaryrefslogtreecommitdiff
path: root/gnu/system/examples
AgeCommit message (Collapse)Author
2026-03-23system: examples: devel-hurd: Avoid building graphviz-minimal.Janneke Nieuwenhuizen
This is a follow-up to commit e54d574add30acd4603a7a2e5cd60dd634ba4e12 gnu: guix: Depend on 'graphviz-minimal'. (and subsequent bumping of the guix package). * gnu/system/examples/devel-hurd.tmpl (guix-packages): Also remove graphviz-minimal. Change-Id: Icae506f0a442ae44fbd98dc1974bf6571bddd883
2026-03-09system: hurd: Remove %hurd64-default-* variants.Yelninei
Since 8f852885de485098812450711e81c1f446d3acb6 these are aliases. * gnu/system/hurd.scm (%hurd64-default-operating-system, %hurd64-default-operating-system-kernel): Delete variables. * gnu/system/images/hurd.scm (hurd64-barebones-os): Replace %hurd64-default-operating-system with %hurd-default-operating-system * gnu/system/examples/bare-hurd64.tmpl (%hurd64-os): Same. * gnu/tests/virtualization.scm (%childhurd64-os): Remove usage of %hurd64-default-operating-system-kernel. Merges: #5544. Change-Id: Ie7345cd99dc37712e7a0f7683ad738c194c70fa7
2026-03-06system: examples: bare-hurd64: Remove now unnecessary kernel-arguments.Janneke Nieuwenhuizen
On x86_64-gnu, that only works with RumpDISK, the GRUB bootloader configuration always inserts "noide". * gnu/system/examples/bare-hurd64.tmpl (%hurd64-os)[kernel-arguments]: Remove. Change-Id: Ic648d88ea4171adaa0f932436fbeaadb208cdbfa
2026-02-27system: examples: Remove comments on missing login prompt on hurd64.Yelninei
* gnu/system/examples/bare-hurd64.tmpl: Remove outdated comment. * gnu/system/examples/devel-hurd64.tmpl: Remove outdated comment. Merges: https://codeberg.org/guix/guix/pulls/5545 Change-Id: Icd31fe47392263f2629e882c791013679a0fd597 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-17system: Remove asus-c201.tmp.Andreas Enge
The file transitively depends on vboot-utils, which does not build and which depends on python2. This effectively reverts commit df2a96167fd97b1b2013813127e44b0bd5ca7469 . * gnu/system/examples/asus-c201.tmpl: Remove file. * Makefile.am (EXAMPLES): Unregister file. Change-Id: I90683a01fc53c0491a77670c850c7afe6026c878
2026-01-19gnu: %desktop-services: Switch to GDM on 64-bit systems.Rutherther
* 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>
2025-12-22vm-image.tmpl: Remove current-guix url override.Rutherther
This simplifies things thanks to the release artifacts now, they have been rewritten to Guile and can now supply current-guix-package as a parameter, as was intended. That way the checkout is not leaked for the release artifacts. * gnu/system/examples/vm-image.tmpl (guix-package-commit): Remove variable. (operating-system): Use (current-guix) directly. * gnu/system/examples/vm-image-efi.tmpl: Likewise. Change-Id: Iabf1bb5bbb86b9984bfb87ba0543782a6dce3192 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-22system: vm-image-efi.tmpl: Add example efi vm image.Rutherther
This is a copy of vm-image.tmpl, but with efi bootloader. Since user ends up with this config in their /run/current-user/configuration.scm and the regular way to continue is to copy that file and reconfigure off of it, it seems better to just keep distinct configuration. Moreover xf86-video-intel is removed, because it doesn't compile on aarch64. * gnu/system/examples/vm-image-efi.tmpl Change-Id: I0f72ac5a775339ee84cb1a4046ca5a8deca0e2ea Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-20vm-image.tmpl: Allow empty passwords in base-services.Rutherther
Change-Id: Ia16fc0418bb9eee29625504a800300958b173c4c Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-11-29system: examples: Add machine argument to qemu for hurd64Yelninei
Change-Id: I30bb65819421b71bb78f6b51dde79540fd8a504a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21vm-image.tmpl: Use /dev/vda2 as root file system device.Rutherther
The /dev/vda1 partition points to an EFI partition. The /run/current-system/configuration.scm will then point to an incorrect partition - to the EFI partition instead of root partition. Fix that by pointing it to the default root-label "Guix_image". This allows users to reconfigure out of the /run/current-system/configuration.scm. * gnu/system/examples/vm-image.tmpl: Switch root filesystem device to /dev/vda2. Change-Id: I983892fb3c860dc5bbb2a1654d28db83e88d8c1a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21vm-image.tmpl: Do not leak local checkout URL.Rutherther
Follow up of 94c9e53fa4 that made similar change, but in gnu/system/install.scm. Change local checkout url for the default channel url to ensure release images will not leak local checkout url. * gnu/system/examples/vm-image.tmpl: Change channel of ‘guix’ package to inherit from ‘%default-guix-channel’. Change-Id: I1c633b44cfa067cae1d2948e7e7ef6922995c27d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-09-21system: bare-bones: Remove Cuirass service.Ludovic Courtès
This reverts changes from d72eef9c918144bd892522722be71321d4a5ad97 that were inadvertently committed. * gnu/system/examples/bare-bones.tmpl: Remove Cuirass. Change-Id: I29253dce841479bbddef00756a0f6bd57694dfae
2025-09-05services: cuirass: Add more configuration fields.Ludovic Courtès
* gnu/services/cuirass.scm (<cuirass-configuration>)[parallel-evaluations] [evaluation-ttl, web-threads]: New fields. (cuirass-shepherd-service): Honor them. * doc/guix.texi (Continuous Integration): Document them. Change-Id: I33485b978d2a37ee93230b1d425731e6cb3b80e4
2025-07-24gnu: system: Replace deprecated dhcp client service.Gabriel Wicki
* gnu/system/examples/asus-c201.tmpl, gnu/system/examples/bare-bones.tmpl, gnu/system/examples/beaglebone-black.tmpl, gnu/system/examples/raspberry-pi-64-nfs-root.tmpl, gnu/system/examples/raspberry-pi-64.tmpl, gnu/system/examples/vm-image.tmpl gnu/system/images/orangepi-r1-plus-lts-rk3328.scm, gnu/system/images/pine64.scm, gnu/system/images/rock64.scm, gnu/system/images/unmatched.scm, gnu/system/images/visionfive2.scm, gnu/system/linux-container.scm (services): Replace dhcp-client-service-type with its replacement dhcpcd-service-type. Change-Id: Ib1f31d0a95dfa8ee64cf8c10d617ee53c8637b26
2025-07-18system: examples: devel-hurd64: Fix typo.Janneke Nieuwenhuizen
Suggested by yelninei via IRC. * gnu/system/examples/devel-hurd.tmpl: Fix typo in comment. Change-Id: I4256f530bda30a8792c7dcce3f3bf21780dce6ca
2025-07-17system: examples: devel-hurd64: Remove new Linux-specific dependency.Janneke Nieuwenhuizen
* gnu/system/examples/devel-hurd.tmpl (guix-packages): Also remove slirp4netns; it is a Linux-specific dependency that does not build for the Hurd. Change-Id: I5bca0f44b32d09dd4baa86a6d47d33133a4339c6
2025-05-23maint: Change main repository URL to git.guix.gnu.org.Ludovic Courtès
Throughout, replace “https://git.savannah.gnu.org/git/guix.git” by “https://git.guix.gnu.org/guix.git”. Change-Id: Ieb82464f92a806b85c79e629f952e68c39323740
2025-02-19gnu: Fix some misspellings.Efraim Flashner
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2024-12-18system: examples: Fix typo in bare-hurd.tmpl.Janneke Nieuwenhuizen
* gnu/system/examples/bare-hurd.tmpl: Add missing line-continuation backslash. Change-Id: Ib918cff3ca96f2a199869e876b6a75fedb09c983
2024-12-18system: examples: Update instructions in {bare,devel}-hurd64.tmpl.Janneke Nieuwenhuizen
* gnu/system/examples/bare-hurd64.tmpl: Remove --machine q35, there seems to be no longer any need for this. Mention that there is no login prompt. * gnu/system/examples/devel-hurd64.tmpl: Likewise. Change-Id: Ib918cff3ca96f2a199869e876b6a75fedb09c983
2024-12-18system/examples: Fix qemu invocation in comment of bare-hurd64.tmpl.Maxim Cournoyer
* gnu/system/examples/bare-hurd64.tmpl: Add missing backslash escape. Change-Id: I84c5d37c6efb005a14f15b96432360628003d87b
2024-12-18system/examples: Use latest QEMU for hurd examples.Maxim Cournoyer
* gnu/system/examples/bare-hurd64.tmpl: Replace qemu@7 with qemu in invocation example. * gnu/system/examples/devel-hurd64.tmpl: Likewise. Change-Id: I3cdbff6f68b810feff1d9b2929a323498af3fd29
2024-12-18system/examples: Fix git clone instructions in devel-hurd64.tmpl template.Maxim Cournoyer
* gnu/system/examples/devel-hurd64.tmpl: Fix git clone instructions in comment. Change-Id: Id82f3e5d7888355507ac90e86e3bff4c27e6fba1
2024-12-03system: examples: Add devel-hurd64.tmpl.Janneke Nieuwenhuizen
This also updates comments and removes the comment about a very old `bootstrap-profile' hack. * gnu/system/examples/devel-hurd.tmpl (hurd-packages): New variable (%hurd-devel-os): Use it. * gnu/system/examples/devel-hurd64.tmpl: New file. Change-Id: I54b6b0843f0dd635d89cca483ae43d23b20d21e8
2024-12-03system: examples: Add bare-hurd64.tmpl.Janneke Nieuwenhuizen
* gnu/system/examples/bare-hurd.tmpl: Update comments. * gnu/system/examples/bare-hurd64.tmpl: New file. Change-Id: I8d26afd19afaa8fb3558948b50b0efdc0f83f29c
2024-11-11system: examples: Add devel-hurd.tmpl.Janneke Nieuwenhuizen
This operating system specification for the Hurd creates a system that supports building the guix package from git natively. Do something like ./pre-inst-env guix system build --target=i586-pc-gnu \ gnu/system/examples/devel-hurd.tmpl ./pre-inst-env guix system image --image-type=hurd-qcow2 --image-size=15G \ --no-offload gnu/system/examples/devel-hurd.tmpl cp /gnu/store/...disk-image devel.img guix shell qemu -- qemu-system-i386 -enable-kvm -m 4096 \ -device rtl8139,netdev=net0 \ -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \ -hda devel-hurd.img ssh -p 10022 root@localhost GUIX_PROFILE=/run/current-system/bootstrap-profile source $GUIX_PROFILE/etc/profile mkdir -p ~/src/guix cd src/guix git clone git://git.savannah.gnu.org/guix cd guix ./bootstrap ./configure --with-courage make * gnu/system/examples/devel-hurd.tmpl: New file. Change-Id: I097c7c00a9ab9602db7f8f3305827c815f308d1e
2024-11-11system: hurd: Remove qemu networking from %base-services/hurd.Janneke Nieuwenhuizen
This allows us to use %base-services/hurd for services in a Hurd config for a real machine without removing static-networking. * gnu/system/hurd.scm (%base-services/hurd): Factor networking out to... (%base-services+qemu-networking/hurd): ..this new variable. * gnu/system/examples/bare-hurd.tmpl (%hurd-os): Use it. * gnu/services/virtualization.scm (%hurd-vm-operating-system): Use it. * gnu/system/images/hurd.scm (hurd-barebones-os): Use it. Add comment about QEMU and networking for a real machine. Change-Id: I777a63410383b9bf8b5740e4513dbc1e9fb0fd41
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-12-30gnu: vm-image.tmpl: Improve SPICE dynamic resizing.Maxim Cournoyer
* gnu/system/examples/vm-image.tmpl (auto-update-resolution-crutch): Delete variable. (operating-system) [packages]: Add x-resize. [services]: Remove auto-update-resolution-crutch mcron service. Fixes: https://issues.guix.gnu.org/57068 Reported-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I45cd3d79b94ece2511d324c7b180f8f37bd9ba49
2023-10-05system: bare-bones: Add comments about nss-cert and NTP service.Nikolaos Chatzikonstantinou
TLS errors may be confusing to some users. Two comments are added: one comment should help clarify the extra step required for root CA certificates to be installed, while the other will help users keep their clocks synchronized, another source of TLS errors due to clock drift. * gnu/system/examples/bare-bones.tmpl: Add nss-cert and NTP service comments. Signed-off-by: Nikolaos Chatzikonstantinou <nchatz314@gmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-11system: vm-image: Remove duplicate packages.Efraim Flashner
* gnu/system/examples/vm-image.tmpl (use-package-modules): Remove unneeded modules. (operating-system)[packages]: Remove nvi, wget.
2023-08-22examples: Avoid duplicate SDDM service for Plasma on aarch64-linux.Ludovic Courtès
This is a followup to cf28f46930f1ea4087d84c162cfacfcdff842b1f. * gnu/system/examples/plasma.tmpl (services): Remove both 'gdm-service-type' and 'sddm-service-type' from %DESKTOP-SERVICES.
2023-08-21examples: Avoid 'modify-services' to remove GDM.Ludovic Courtès
This led to a 'tests/guix-system.sh' failure on aarch64-linux: …/plasma.tmpl:60:13: error: modify-services: service 'gdm' not found in service list This is because 'gdm-service-type' is not among %DESKTOP-SERVICES on that architecture. * gnu/system/examples/plasma.tmpl (services): Use 'remove' rather 'modify-services' + 'delete'.
2023-08-03examples: Add plasma operating-system example template.Zheng Junjie
* gnu/system/examples/plasma.tmpl: New file. * Makefile.am (EXAMPLES): register it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-07-13services: childhurd: Bump default qemu memory to 2048MB.Janneke Nieuwenhuizen
When booting with pci-arbiter and rumpdisk and using 1024MB of memory for qemu, booting hangs, or seems to hang, at the end of the rumpdisk boot messages. At least 1200MB is required, currently. * gnu/services/virtualization.scm (<hurd-vm-configuration>)[memory-size]: Bump to 2048. * gnu/system/examples/bare-hurd.tmpl: Suggest using 2048 here too. Update example `guix system image' and "qemu" command lines too. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-03-03services: base: Deprecate 'agetty-service' procedure.Bruno Victal
* doc/guix.texi (Base Services): Replace agetty-service with agetty-service-type. * gnu/services/base.scm (agetty-service): Deprecate procedure. * gnu/system/examples/beaglebone-black.tmpl (operating-system)[services]: Use agetty-service-type. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-16system: examples: Add mode prop line.Maxim Cournoyer
* gnu/system/examples/asus-c201.tmpl: Add a mode prop line. * gnu/system/examples/bare-bones.tmpl: Likewise. * gnu/system/examples/beaglebone-black.tmpl: Likewise. * gnu/system/examples/desktop.tmpl: Likewise. * gnu/system/examples/docker-image.tmpl: Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: Likewise. * gnu/system/examples/raspberry-pi-64.tmpl: Likewise. * gnu/system/examples/vm-image.tmpl: Likewise.
2022-12-12Merge branch 'version-1.4.0'Ludovic Courtès
2022-12-09system: Remove unused yggdrasil OS template.Ludovic Courtès
This file was added in fe1cd098d2b83737e96f19438612291f5a9316e4 but it's not referenced from anywhere, not even gnu/local.mk. Furthermore, we don't normally add full OS examples for the purposes of illustrating the use of a single service. * gnu/system/examples/yggdrasil.tmpl: Remove.
2022-12-04gnu: Do not use 'local-file' in Raspberry Pi OS examples.Maxim Cournoyer
As this breaks the 'tests/guix-system.sh' test. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl (%my-public-key): Delete variable. (raspberry-pi-64-nfs-root) [services]: Remove key from openssh-configuration. * gnu/system/examples/raspberry-pi-64.tmpl: Likewise. Reported-by: Vagrant Cascadian <vagrant@debian.org>
2022-12-01gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples.Stefan
* gnu/packages/raspberry-pi.scm (grub-efi-bootloader-chain-raspi-64): New bootloader variable, capable to boot a Raspberry Pi over network or from a local storage. * gnu/system/examples/raspberry-pi-64.tmpl: New operating-system example. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: New operating-system example for booting over network. * Makefile.am (EXAMPLES): Register the new files. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-23system: Support bare-bones serial console.Tobias Geerinckx-Rice
* gnu/system/examples/bare-bones.tmpl (operating-system): Add a ttyS0 console to kernel-arguments.
2022-08-09maint: Use a pretty version string in ISO and VM images.Ludovic Courtès
* gnu/system/examples/vm-image.tmpl: Use the 'GUIX_DISPLAYED_VERSION' environment variable in 'label'. * gnu/system/install.scm (%installation-os): Likewise. * Makefile.am (release): Set 'GUIX_DISPLAYED_VERSION'.
2022-08-09system: install: Always use 'current-guix'.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/53210>. Reported by Mathieu Othacehe <othacehe@gnu.org>. * gnu/system/install.scm (%installation-services): Set 'guix' to use (current-guix) in 'guix-configuration'. * gnu/system/examples/vm-image.tmpl: Likewise. * gnu/tests/install.scm (operating-system-with-current-guix): Remove. (run-install, installation-os-for-gui-tests): Remove its uses. * Makefile.am (release): Remove intermediate use of 'update-guix-package.scm' and subsequent 'git commit' invocation.
2022-01-06services: Consistently use SDDM rather than GDM on non-x86_64.Chris Marusich
This is a follow-up to 49599fab564f203b8e92d32e9b28c99e99849bfb. Fixes: <https://issues.guix.gnu.org/52908>. * gnu/services/xorg.scm (set-xorg-configuration)[login-manager-service-type]: When the current system or target system begins with the string "x86_64", use gdm-service-type as before; otherwise, use sddm-service-type. * gnu/system/examples/vm-image.tmpl (services): Add sddm-service-type to the list of service types to remove.
2022-01-05doc: Only use GDM and GNOME on x86_64.Ricardo Wurmus
* gnu/system/examples/desktop.tmpl: Only use gnome-desktop-service-type and the default login manager in set-xorg-configuration when the target system is x86_64.
2021-12-19doc: Add group configuration exampleDenis 'GNUtoo' Carikli
* gnu/system/examples/desktop.tmpl: Add group configuration example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23doc: Add new Swap Space section.Josselin Poiret
* doc/guix.texi (operating-system Reference): Update swap-devices. * doc/guix.texi (Swap Space): Add it. * gnu/system/examples/desktop.tmpl: Add swap-devices example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-29Migrate to the new 'targets' field of bootloader-configuration.Maxim Cournoyer
The old 'target' field is deprecated; adjust the sources to use the new 'targets' one instead. * doc/guix-cookbook.texi<target>: Replace by 'targets'. * gnu/bootloader/grub.scm: Likewise. * gnu/installer/parted.scm: Likewise. * gnu/machine/digital-ocean.scm: Likewise. * gnu/system/examples/asus-c201.tmpl: Likewise * gnu/system/examples/bare-bones.tmpl: Likewise * gnu/system/examples/bare-hurd.tmpl: Likewise * gnu/system/examples/beaglebone-black.tmpl: Likewise * gnu/system/examples/desktop.tmpl: Likewise * gnu/system/examples/docker-image.tmpl: Likewise * gnu/system/examples/lightweight-desktop.tmpl: Likewise * gnu/system/examples/vm-image.tmpl: Likewise * gnu/system/examples/yggdrasil.tmpl: Likewise * gnu/system/hurd.scm: Likewise * gnu/system/images/hurd.scm: Likewise * gnu/system/images/novena.scm: Likewise * gnu/system/images/pine64.scm: Likewise * gnu/system/images/pinebook-pro.scm: Likewise * gnu/system/images/rock64.scm: Likewise * gnu/system/install.scm: Likewise * gnu/system/vm.scm: Likewise * gnu/tests.scm: Likewise * gnu/tests/ganeti.scm: Likewise * gnu/tests/install.scm: Likewise * gnu/tests/nfs.scm: Likewise * gnu/tests/telephony.scm: Likewise * tests/boot-parameters.scm: Likewise * tests/system.scm: Likewise