list of user accounts that the job needs to run. For instance, the
SSH daemon job says:
{ name = "sshd";
uid = (import ../system/ids.nix).uids.sshd;
description = "SSH privilege separation user";
home = "/var/empty";
}
The activation script creates the system users/groups and updates
them as well. So a change in the Nix expression can be realised in
/etc/{group,passwd} by running nixos-rebuild.
svn path=/nixos/trunk/; revision=8846
environment = {
extraPackages = pkgs: [
pkgs.firefox
pkgs.thunderbird
];
};
This approach is often actually nicer than adding to the default
profile using nix-env, since it's declarative, and all packages
declared here will be updated automatically when you run
nixos-rebuild.
* Allow additional setuid programs to be specified in
security.extraSetuidPrograms.
svn path=/nixos/trunk/; revision=8548
accounts. Obviously we cannot put the store path of bash in
/etc/passwd since it's too fragile (it could be garbage collected),
hence this indirection.
svn path=/nixos/trunk/; revision=8383
- Set the desktop background to the image ~/.background-image.
- Depending on services.xserver.sessionType, start an xterm or a
gnome-terminal as the "desktop" :-)
* Upstart jobs can now declare extra packages to be added to the
system path through the `extraPath' attribute. For instance, the
ALSA job adds alsa-utils, and the X server job adds lots of stuff
depending on the X configuration (e.g., xrandr, gnome-terminal,
twm).
* Create a cdrom/dvd symlink for SCSI sr? devices.
svn path=/nixos/trunk/; revision=8221
/boot/kernels. This is necessary if /nix is on a different file
system than /. (And it will allow us to support a separate /boot
partition too.)
svn path=/nixos/trunk/; revision=7887
sources in /etc/nixos with a Subversion checkout of those trees.
This should be run after a successful installation if you want to
keep NixOS up to date from Subversion.
svn path=/nixos/trunk/; revision=7859
be able to find the LDAP NSS module, which is normally installed in
Glibc's prefix (under /lib/libnss_ldap...). Of course, we can't do
that; it wouldn't be pure. As a workaround, we simply add nss_ldap
to the LD_LIBRARY_PATH of the nscd daemon, which every other program
uses for lookups. So we don't have to put nss_ldap in the
LD_LIBRARY_PATH of every program.
svn path=/nixos/trunk/; revision=7684
* Automatically set up a per-user profile in
/nix/var/nix/profiles/per-user/$USER.
* Initialise ~/.nix-defexpr and ~/.nix-profile.
svn path=/nixos/trunk/; revision=7680