mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
59e8044588
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Remove mentions of "GuixSD". * gnu/bootloader/grub.scm (install-grub-efi): Likewise. * gnu/build/vm.scm (make-iso9660-image): Change default #:volume-id to "Guix_image". (initialize-hard-disk): Search for the "Guix_image" label. * gnu/ci.scm (system-test-jobs, tarball-jobs): Remove "GuixSD". * gnu/installer/newt/welcome.scm (run-welcome-page): Likewise. * gnu/packages/audio.scm (supercollider)[description]: Likewise. * gnu/packages/curl.scm (curl): Likewise. * gnu/packages/emacs.scm (emacs): Likewise. * gnu/packages/gnome.scm (network-manager): Likewise. * gnu/packages/julia.scm (julia): Likewise. * gnu/packages/linux.scm (alsa-plugins): Likewise. (powertop, wireless-regdb): Likewise. * gnu/packages/package-management.scm (guix): Likewise. * gnu/packages/polkit.scm (polkit): Likewise. * gnu/packages/tex.scm (texlive-bin): Likewise. * gnu/services/base.scm (file-systems->fstab): Likewise. * gnu/services/cups.scm (%cups-activation): Likewise. * gnu/services/mail.scm (%dovecot-activation): Likewise. * gnu/services/messaging.scm (prosody-configuration)[log]: Likewise. * gnu/system/examples/vm-image.tmpl (vm-image-motd): Likewise. * gnu/system/install.scm (installation-os)[file-systems]: Change root file system label to "Guix_image". * gnu/system/mapped-devices.scm (check-device-initrd-modules): Remove "GuixSD". * gnu/system/vm.scm (system-docker-image): Likewise. (system-disk-image)[root-label]: Change to "Guix_image". * gnu/tests/install.scm (run-install): Remove "GuixSD". * guix/modules.scm (guix-module-name?): Likewise. * nix/libstore/optimise-store.cc: Likewise.
58 lines
2 KiB
Cheetah
58 lines
2 KiB
Cheetah
;;; This is an operating system configuration template for a "bare-bones" setup,
|
|
;;; suitable for booting in a virtualized environment, including virtual private
|
|
;;; servers (VPS).
|
|
|
|
(use-modules (gnu))
|
|
(use-package-modules bootloaders disk nvi)
|
|
|
|
(define vm-image-motd (plain-file "motd" "
|
|
This is the GNU system. Welcome!
|
|
|
|
This instance of Guix System is a bare-bones template for virtualized environments.
|
|
|
|
You will probably want to do these things first if you booted in a virtual
|
|
private server (VPS):
|
|
|
|
* Set a password for 'root'.
|
|
* Set up networking.
|
|
* Expand the root partition to fill the space available by 0) deleting and
|
|
recreating the partition with fdisk, 1) reloading the partition table with
|
|
partprobe, and then 2) resizing the filesystem with resize2fs.\n"))
|
|
|
|
(operating-system
|
|
(host-name "gnu")
|
|
(timezone "Etc/UTC")
|
|
(locale "en_US.utf8")
|
|
|
|
(firmware '())
|
|
|
|
;; Assuming /dev/sdX is the target hard disk, and "my-root" is
|
|
;; the label of the target root file system.
|
|
(bootloader (bootloader-configuration
|
|
(bootloader grub-bootloader)
|
|
(target "/dev/sda")
|
|
(terminal-outputs '(console))))
|
|
(file-systems (cons (file-system
|
|
(device (file-system-label "my-root"))
|
|
(mount-point "/")
|
|
(type "ext4"))
|
|
%base-file-systems))
|
|
|
|
;; This is where user accounts are specified. The "root"
|
|
;; account is implicit, and is initially created with the
|
|
;; empty password.
|
|
(users %base-user-accounts)
|
|
|
|
;; Globally-installed packages.
|
|
(packages (append (list nvi fdisk
|
|
;; mostly so xrefs to its manual work
|
|
grub
|
|
;; partprobe
|
|
parted)
|
|
%base-packages))
|
|
|
|
(services (modify-services %base-services
|
|
(login-service-type config =>
|
|
(login-configuration
|
|
(inherit config)
|
|
(motd vm-image-motd))))))
|