summaryrefslogtreecommitdiff
path: root/gnu/system
Commit message (Collapse)AuthorAge
* artwork: Update snapshot to GuixSD branding.Ludovic Courtès2015-02-12
| | | | | | | * gnu/artwork.scm (%artwork-repository): Update to new "GuixSD" branding. * gnu/system/grub.scm (%background-image, %default-theme): Adjust accordingly.
* linux-initrd: Add 'isci' module, needed for some SAS controllers.Ludovic Courtès2015-02-09
| | | | | | Encountered on a Dell Precision T3600. * gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add isci.
* gnu: wpa-supplicant: Add dbus support; add wpa-supplicant-light.Mark H Weaver2015-02-04
| | | | | | | | * gnu/packages/admin.scm (wpa-supplicant-light): New variable containing the previous dbus-free package, but renamed. Remove outdated TODO comments. (wpa-supplicant): Now inherits from wpa-supplicant-light but adds dbus support. * gnu/system/install.scm (installation-os): Use wpa-supplicant-light.
* system: Add bindings to configure libc's NSS.Ludovic Courtès2015-02-04
| | | | | | | | | | | | * gnu/system/nss.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu.scm (%public-modules): Add it. * gnu/system.scm (<operating-system>)[name-service-switch]: New field. (etc-directory): Add #:nss parameter and honor it. (operating-system-etc-directory): Adjust call accordingly. * doc/guix.texi (operating-system Reference): Document 'name-service-switch'. (Name Service Switch): New section.
* install: Add iw to the packages.Ludovic Courtès2015-01-28
| | | | * gnu/system/install.scm (installation-os)[packages]: Add IW.
* linux-initrd: Add USB kernel modules to the default initrd.Ludovic Courtès2015-01-27
| | | | | | | * gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add usb-storage, uas, usbkbd, and usbhid. * gnu/system/vm.scm (system-disk-image): Remove #:extra-modules argument to 'base-initrd'.
* install: Mention GSD.Ludovic Courtès2015-01-27
| | | | | * gnu/system/install.scm (installation-services): Mention the Guix System Distribution.
* doc: Add services to the configuration template.Ludovic Courtès2015-01-23
| | | | * gnu/system/os-config.tmpl (services): New field.
* install: Make sure 'info' can decompress the Info files.Ludovic Courtès2015-01-23
| | | | * gnu/system/install.scm (log-to-info): Add GZIP to $PATH.
* system: Add "en_US.UTF-8" to the default locales, for backward compatibility.Ludovic Courtès2015-01-16
| | | | | * gnu/system/locale.scm (%default-locale-definitions): Add "en_US.UTF-8".
* monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
* install: Use a low-memory nscd caching policy.Ludovic Courtès2014-12-14
| | | | | * gnu/system/install.scm (%nscd-minimal-caches): New variable. (installation-services): Use as 'nscd-service' argument.
* system: grub: Make sure the font and background image are always found.Ludovic Courtès2014-12-13
| | | | * gnu/system/grub.scm (eye-candy): Add 'search --file --set'.
* system: Adjust 'grub.cfg' to work on systems with a separate /boot.Ludovic Courtès2014-12-13
| | | | | | | | | Fixes <http://bugs.gnu.org/19220>. Reported by Nikita Karetnikov <nikita@karetnikov.org>. * gnu/system/grub.scm (grub-configuration-file)[entry->gexp]: Add 'search --file --set'. (grub-configuration-file)[builder]: Remove 'search.file'.
* vm: Use QEMU's standard VGA emulation by default.Ludovic Courtès2014-12-13
| | | | * gnu/system/vm.scm (common-qemu-options): Add "-vga std".
* system: Add skeleton '.zlogin'.宋文武2014-12-09
| | | | * gnu/system/shadow.scm (default-skeletons): Add .zlogin.
* system: Cleanup bash startup files.宋文武2014-12-09
| | | | | | * gnu/system.scm (etc-directory) (bashrc): Rename to 'profile'. * gnu/system/shadow.scm (default-skeletons): Rename '.bashrc' to '.bash_profile'. Don't source /etc/profile.
* linux-initrd: Add the 'virtio_console' module for QEMU guests.Ludovic Courtès2014-12-08
| | | | | * gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Add "virtio_console".
* Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."Ludovic Courtès2014-11-30
| | | | | | | This reverts commit 3b09332adf7ce8e976a4d117a62c586a53af04aa, which turned out to be a bad idea because we need to have dependency information between the device-mapping service and the file-system service that uses it.
* system: locale: Fix typo in docstring.Alex Kost2014-11-30
| | | | * gnu/system/locale.scm (localedef-command): Fix typo.
* system: Add a 'needed-for-boot?' field to 'mapped-device'.Ludovic Courtès2014-11-29
| | | | | | | | | | * gnu/system/file-systems.scm (<mapped-device>)[needed-for-boot?]: New field. * gnu/system.scm (operating-system-user-mapped-devices, operating-system-boot-mapped-devices): Use it instead of trying to guess. Guessing doesn't work when one refers to a partition using its label, for instance. * doc/guix.texi (Mapped Devices): Document 'needed-for-boot?'.
* system: Change "en_US.UTF-8" to "en_US.utf8".Ludovic Courtès2014-11-29
| | | | | * build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8". * gnu/system/install.scm (installation-os)[locale]: Ditto.
* linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'.Ludovic Courtès2014-11-28
| | | | | * gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from module names.
* linux-initrd: Remove now redundant module names.Ludovic Courtès2014-11-28
| | | | | | | * gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Remove "virtio.ko" and "virtio_ring.ko". [virtio-9p-modules]: Remove "fscache.ko" and "9pnet.ko". [linux-modules]: Remove "libahci.ko".
* linux-boot: Load modules and their dependencies, à la 'modprobe'.Ludovic Courtès2014-11-28
| | | | | | | | | | | | | * gnu/build/linux-boot.scm: Use (gnu build linux-modules). (load-linux-module*): Remove. (boot-system): Add #:linux-module-directory parameter. [lookup-module]: New procedure. Call 'current-module-debugging-port'. Pass #:lookup-module to 'load-linux-module*'. Map LOOKUP-MODULE on LINUX-MODULES. * gnu/system/linux-initrd.scm (base-initrd): Adjust 'boot-system' call accordingly. Adjust #:modules argument as well. * gnu/system.scm (operating-system-activation-script)[%modules]: Likewise. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
* linux-initrd: Copy modules and their dependencies to the initrd.Ludovic Courtès2014-11-28
| | | | | | | * gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]: Add 'lookup' procedure. Use 'recursive-module-dependencies' to compute the list of modules to copy. Adjust #:modules parameter.
* system: Build system-wide locale definitions.Ludovic Courtès2014-11-27
| | | | | | | | | | | | | | | * gnu/system/locale.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/system.scm (<operating-system>)[locale]: Change the default to "en_US.utf8". (operating-system-locale-directory): New procecure. (operating-system-derivation): Use it. * doc/guix.texi (Using the Configuration System): Change example locale to "fr_FR.utf8". (operating-system Reference): Add xref to "Locales". Document 'locale-definitions'. (Locales): New section. * po/guix/POTFILES.in: Add gnu/system.scm.
* file-systems: 'file-system-needed-for-boot?' always returns #t for "/".Ludovic Courtès2014-11-25
| | | | | | | | | | | Reported by Nikita Karetnikov. * gnu/system/file-systems.scm (<file-system>): Rename 'needed-for-boot?' accessor to '%file-system-needed-for-boot?'. (file-system-needed-for-boot?): New inlinable procedure. * gnu/system.scm (other-file-system-services)[file-systems]: Rely on 'file-system-needed-for-boot?' to handle the "/" case. (operating-system-initrd-file)[boot-file-systems]: Likewise.
* install: Add wpa-supplicant to the image.Ludovic Courtès2014-11-25
| | | | | | | Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>. * gnu/system/install.scm (installation-os)[packages]: Add WPA-SUPPLICANT.
* install: Add Cryptsetup to the image.Ludovic Courtès2014-11-23
| | | | | | | Reported by Nikita Karetnikov. * gnu/system/install.scm (installation-os)[packages]: Add CRYPTSETUP. * doc/guix.texi (System Installation): Mention it.
* vm: Introduce 'file-system-mapping'.Ludovic Courtès2014-11-20
| | | | | | | | | | | | | * gnu/system/vm.scm (<file-system-mapping>): New record type. (%store-mapping): New variable. (host-9p-file-system): Rename to... (mapping->file-system): ... this. Replace 'source' and 'target' parameters with 'mapping'. Set 'flags' field. (virtualized-operating-system): Add 'mappings' parameter and honor it. (system-qemu-image/shared-store-script): Add 'mappings' parameter. Pass it to 'virtualized-operating-system'. Use it in argument to 'common-qemu-options'.
* vm: Formalize use of '-virtfs' options.Ludovic Courtès2014-11-20
| | | | | | | | | | | * gnu/system/vm.scm (file-system->mount-tag, host-9p-file-system): New procedures. (virtualized-operating-system): Use 'host-9p-file-system' for the store. (common-qemu-options): Add 'shared-fs' parameter. [virtfs-option]: New procedure. Use it. (system-qemu-image/shared-store-script): Adjust accordingly.
* linux-initrd: Add modules for ATA controllers by default.Ludovic Courtès2014-11-13
| | | | | | | Reported by th3kent on #guix. * gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add pata_acpi.ko and pata_atiixp.ko.
* gnu: Introduce (gnu artwork) module.Ludovic Courtès2014-11-12
| | | | | | | | | * gnu/artwork.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/services/xorg.scm: Use it. (%artwork-repository): Remove. * gnu/system/grub.scm: Use it. (%artwork-repository): Remove.
* services: Add 'auto-start?' field to <service>.Ludovic Courtès2014-11-10
| | | | | | * gnu/services.scm (<service>)[auto-start?]: New field. * gnu/services/dmd.scm (dmd-configuration-file): Honor it. * gnu/system/install.scm (cow-store-service): Add 'auto-start?' field.
* doc: Mention "audio" and "video" groups in configuration template.Ludovic Courtès2014-11-10
| | | | | * gnu/system/os-config.tmpl (users): Add "audio" and "video" groups and explain.
* services: Add 'user-unmount-service' as an essential service.Ludovic Courtès2014-11-10
| | | | | | * gnu/services/base.scm (user-unmount-service): New procedure. * gnu/system.scm (essential-services): Use it. * gnu/system/install.scm (cow-store-service): Mention it in comment.
* install: Add GRUB to the set of global packages.Ludovic Courtès2014-11-10
| | | | * gnu/system/install.scm (installation-os)[packages]: Add GRUB.
* system: grub: Adjust default theme color.Ludovic Courtès2014-11-08
| | | | | * gnu/system/grub.scm (%default-theme)[color-highlight]: Change foreground to cyan, as suggested by Felipe López.
* system: grub: Add preliminary support for themes.Ludovic Courtès2014-11-08
| | | | | | | | | * gnu/system/grub.scm (<grub-image>, <grub-theme>): New record types. (%artwork-repository, %background-image): New variables. (<grub-configuration>)[theme]: New field. (svg->png, resize-image, grub-background-image, eye-candy): New procedures. (grub-configuration-file): Use 'eye-candy' and add it in BUILDER.
* vm: The 'run-vm' scripts now passes its arguments to QEMU.Ludovic Courtès2014-11-08
| | | | | | | * gnu/system/vm.scm (system-qemu-image/shared-store-script): Add "$@" at the end of the script. (common-qemu-options): Remove trailing newline. * doc/guix.texi (Invoking guix system): Document it.
* vm: Fix 'vm --full-boot' to produce a sufficient disk image.Ludovic Courtès2014-11-08
| | | | | | | | | | * gnu/system/vm.scm (system-qemu-image/shared-store): Add #:disk-image-size and #:full-boot? parameters and honor them. Pass '#:copy-inputs? full-boot?', and change #:inputs argument. * guix/scripts/system.scm (system-derivation-for-action): Pass #:disk-image-size to 'system-qemu-image/shared-store'. * doc/guix.texi (Invoking guix system): Mention use of '--image-size' in conjunction with '--full-boot'.
* vm: Support 'guix system vm --full-boot'.Ludovic Courtès2014-11-08
| | | | | | | | | | | * gnu/system/vm.scm (system-qemu-image/shared-store-script): Add #:full-boot? parameter and honor it. * guix/scripts/system.scm (system-derivation-for-action): Likewise. (perform-action): Likewise. (show-help): Document '--full-boot'. (%options): Add '--full-boot'. (guix-system): Add #:full-boot? argument in call to 'perform-action'. * doc/guix.texi (Invoking guix system): Document it.
* vm: Factorize common QEMU options.Ludovic Courtès2014-11-06
| | | | | * gnu/system/vm.scm (common-qemu-options): New procedure. (system-qemu-image/shared-store-script): Use it.
* vm: Remove unused procedure.Ludovic Courtès2014-11-06
| | | | | * gnu/system/vm.scm (input->name+output): Remove. Its last user disappeared in commit b53833b.
* vm: Disable swap devices in virtualized OSes.Ludovic Courtès2014-11-05
| | | | | * gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices' field.
* linux-initrd: Adjust VM code and doc to new 'base-initrd' signature.Ludovic Courtès2014-09-22
| | | | | | | | | | | This fixes regressions introduced in de1c158 ("system: Add support for boot-time mapped devices."). * doc/guix.texi (Initial RAM Disk): Adjust example with custom use of 'base-initrd'. Document #:mapped-devices parameter of 'base-initrd'. * gnu/system/vm.scm (system-disk-image, system-qemu-image, virtualized-operating-system): Adjust call to 'base-initrd' to new signature.
* system: Add support for boot-time mapped devices.Ludovic Courtès2014-09-22
| | | | | | | | | | | | | | * gnu/build/linux-boot.scm (boot-system): Add #:pre-mount parameter and honor it. * gnu/system/linux-initrd.scm (base-initrd): Add #:mapped-devices parameter. Add 'device-mapping-commands' variable, and use it to build the #:pre-mount argument of 'boot-system'. * gnu/system.scm (mapped-device-user, operating-system-user-mapped-devices, operating-system-boot-mapped-devices): New procedures. (device-mapping-services): Use 'operating-system-user-mapped-devices' instead of 'operating-system-mapped-devices'. (operating-system-initrd-file): Call the initrd with #:mapped-devices.
* system: Add udev rule for /dev/kvm.Ludovic Courtès2014-09-18
| | | | | | | * gnu/services/base.scm (kvm-udev-rule): New procedure. (udev-service): Use it, and add it to RULES. (guix-build-accounts): Add "kvm" to the 'supplementary-groups' field. * gnu/system/shadow.scm (%base-groups): Add "kvm".
* linux-initrd: Remove now obsolete #:guile-modules-in-chroot? parameter.Ludovic Courtès2014-09-18
| | | | | | | | * gnu/build/linux-boot.scm (boot-system): Remove #:guile-modules-in-chroot? and related code. * gnu/system/linux-initrd.scm (base-initrd): Likewise. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Remove #:guile-modules-in-chroot? argument in 'base-initrd' call.