for building parts of the system. E.g.
$ nix-build /etc/nixos/nixos -A upstartJobs.xserver
to build the Upstart job for the X server, or
$ nix-build /etc/nixos/nixos -A kernel
to build the NixOS kernel.
* /etc/profile.sh: if ~/.nix-defexpr doesn't exist yet, create it as a
directory and add links to root's channels, /etc/nixos/nixos and
/etc/nixos/install-source.nix (as "nixpkgs_sys").
* boot.useKernel -> boot.kernel.
svn path=/nixos/trunk/; revision=9334
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
default). The contents of the sudoers file is specified in
security.sudo.configFile. The default sudoers file allows members
of the new "wheel" group to run any command.
svn path=/nixos/trunk/; revision=9138
don't need to be subscribed to the Nixpkgs channel to get binary downloads.
This is possible because nix-pull is now pretty fast.
svn path=/nixos/trunk/; revision=9133
for cables being plugged in or unplugged. When this occurs, the
dhclient service is restarted to automatically obtain a new IP
address. This is useful for roaming users (laptops).
svn path=/nixos/trunk/; revision=9124
CD-ROM drive, etc.) to the logged in user. Woohoo! Finally, no
more chown /dev/snd/*.
* Get rid of spurious error messages about pam_ldap when we're not
using LDAP.
svn path=/nixos/trunk/; revision=8861
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
error.
* Put the top-level system config on the CD, otherwise root doesn't
get a working login shell on the CD (and the system PATH is broken
as well).
svn path=/nixos/trunk/; revision=8658
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
(/nix/var/nix/profiles/default) by default.
* In /etc/profile, put /var/run/current-system/sw/[s]bin in $PATH, not
the targets of those symlink. Otherwise users need to log out to
make configuration changes to the systemPath take effect.
svn path=/nixos/trunk/; revision=8384
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
configuration, and use it as a garbage collection root to prevent
the current configuration from being GC'ed (which was previously
possible if the configuration was activated using "nixos-rebuild
test", or if the configuration's generation symlink had been removed
from the system profile).
This isn't quite right yet due to a layering problem:
activate-configuration.sh doesn't know the top-level store path of
the configuration.
svn path=/nixos/trunk/; revision=8379