summaryrefslogtreecommitdiff
path: root/gnu/system.scm
Commit message (Collapse)AuthorAge
* Merge branch 'master' into core-updatesLudovic Courtès2014-02-22
|\ | | | | | | | | Conflicts: gnu-system.am
| * gnu: Add /etc/shells.Ludovic Courtès2014-02-19
| | | | | | | | * gnu/system.scm (etc-directory): Add /etc/shells.
| * gnu: Define '%base-services'.Ludovic Courtès2014-02-19
| | | | | | | | | | | | | | | | * gnu/services/base.scm (%base-services): New variable. * gnu/system.scm (<operating-system>)[services]: Change the default value to %BASE-SERVICES. * doc/guix.texi (Using the Configuration System): Change '%standard-services' to '%base-services'.
| * gnu: Introduce the (gnu services ...) modules.Ludovic Courtès2014-02-19
| | | | | | | | | | | | | | | | | | | | | | * gnu/system/dmd.scm: Remove file. Move contents to... * gnu/services.scm, gnu/services/base.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/xorg.scm: ... here. New files. * gnu/system.scm, gnu/system/vm.scm: Adjust accordingly. * guix/scripts/system.scm (%user-module): Likewise. * doc/guix.texi (Using the Configuration System): Likewise. (Defining Services): Likewise.
| * gnu: Move root's home directory to /root.Ludovic Courtès2014-02-08
| | | | | | | | | | | | * gnu/system.scm (operating-system-derivation): Change root's 'home-directory' to "/root". * gnu/system/vm.scm (operating-system-default-contents): Add /root.
| * gnu: system: Build /etc/localtime.Ludovic Courtès2014-02-05
| | | | | | | | | | | | | | | | | | * gnu/system.scm (etc-directory)[bashrc]: Use 'text-file*' instead of 'text-file'. Adjust users accordingly. [files]: Add the /etc/localtime file for TIMEZONE. Add TZDATA to the 'file-union' inputs. (operating-system-derivation): Pass 'etc-directory' PROFILE-DRV instead of PROFILE.
| * gnu: vm: Add /run/current-system and /bin/sh.Ludovic Courtès2014-02-02
| | | | | | | | | | | | | | | | * gnu/system/vm.scm (operating-system-default-contents): Populate /run/current-system and create /bin/sh. * gnu/system.scm (operating-system-profile-derivation, operating-system-profile-directory): New procedures. (operating-system-derivation): Use it.
| * gnu: vm: Add support for running a VM that shares its store with the host.Ludovic Courtès2014-01-31
| | | | | | | | | | | | | | | | | | | | * gnu/system/vm.scm (qemu-image): Check whether GUIX is #f. (operating-system-build-gid, operating-system-default-contents): New procedures. (system-qemu-image): Use 'operating-system-build-gid'. (system-qemu-image/shared-store, system-qemu-image/shared-store-script): New procedures. * gnu/system.scm: Add missing exports.
| * gnu: linux-initrd: Properly distinguish between /dev/sda* and /dev/vda*.Ludovic Courtès2014-01-31
| | | | | | | | | | | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Rename devices with major = 8 to /dev/sda*. Make /dev/vda* devices. * gnu/system/vm.scm (qemu-image): Change '/dev/vda' to '/dev/sda'. * gnu/system.scm (operating-system-derivation): Likewise.
| * gnu: Lower initrd makers from packages to monadic procedures.Ludovic Courtès2014-01-29
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/linux-initrd.scm: Remove. * gnu/system/linux-initrd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/system.scm (<operating-system>): Change default 'initrd' value to (gnu-system-initrd). (operating-system-derivation): Bind 'operating-system-initrd'. Pass 'menu-entry' an initrd file name instead of a package. * gnu/system/grub.scm (grub-configuration-file): Expect 'initrd' to be file name.
* | Prefer local builds for "small" derivations.Ludovic Courtès2014-01-25
|/ | | | | | | * gnu/system.scm (union, file-union, links): Pass #:local-build? #t to 'derivation-expression'. * guix/derivations.scm (imported-files, compiled-modules): Likewise. * guix/profiles.scm (profile-derivation): Likewise.
* gnu: Changes references to (gnu packages admin).Ludovic Courtès2014-01-13
| | | | | | | | * gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/system.scm, gnu/system/dmd.scm, gnu/system/shadow.scm, gnu/system/vm.scm: Change references to (gnu packages system) to (gnu packages admin). This is a followup to commit 4aeea89.
* gnu: Honor the operating system's locale and timezone.Ludovic Courtès2013-12-10
| | | | | | | | * gnu/system.scm (etc-directory): Add 'locale' and 'timezone' parameters. Set 'LC_ALL', 'TZ', and 'TZDIR' in /etc/profile. (operating-system-derivation): Adjust call accordingly. * gnu/system/vm.scm (%demo-operating-system): Change locale to 'en_US.UTF-8'. Add TZDATA to 'packages'.
* gnu: Allow a plain list of packages in 'operating-system'.Ludovic Courtès2013-12-10
| | | | | | | | | * gnu/system.scm (union): Allow (PACKAGE OUTPUT), (PACKAGE), and PACKAGE. (<operating-system>)[packages]: Make the default a list of package? objects. * gnu/system/vm.scm (%demo-operating-system): Likewise. Add a few packages.
* gnu: Add 'inputs' field to <user-account>; make 'shell' a monadic value.Ludovic Courtès2013-12-10
| | | | | | | | | | * gnu/system/shadow.scm (<user-account>)[inputs]: New field. (passwd-file): Bind the 'shell' field of each account. * gnu/system/vm.scm (%demo-operating-system): Remove 'shell' field. * gnu/system/dmd.scm (guix-build-accounts): Store a monadic value in 'shell'. Add 'inputs' field. * gnu/system.scm (operating-system-derivation): Remove 'shell' field for 'root' account. Add all the 'user-account-inputs' to EXTRAS.
* gnu: Add (gnu system).Ludovic Courtès2013-12-10
* gnu/system/vm.scm (lower-inputs): Move to monads.scm. (qemu-image): Don't add GRUB-CONFIGURATION to the INPUTS-TO-COPY. (union, file-union, etc-directory): Move to gnu/system.scm. (%demo-operating-system): New variable. (system-qemu-image): Add 'os' parameter. Rewrite in terms of 'operating-system-derivation'. * guix/monads.scm (lower-inputs): New procedure. * gnu/system/grub.scm (grub-configuration-file): Change 'entries' to be a plain list instead of a list of monadic values. * gnu/system.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.