Commit graph

604 commits

Author SHA1 Message Date
Eelco Dolstra
f2780fdc62 * Add a top-level default.nix for NixOS which has attributes useful
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
2007-09-18 15:06:24 +00:00
Eelco Dolstra
0d1aa83fea svn path=/nixos/trunk/; revision=9275 2007-09-06 21:10:15 +00:00
Marc Weber
53a8d28f06 added udev rule to move /dev/tun to the place /dev/net/tun which most distros are using by default as well as tunctl
svn path=/nixos/trunk/; revision=9252
2007-09-04 13:44:26 +00:00
Yury G. Kudryashov
867d814d27 Remove unneeded copy of lvm in initrd.
Something replaces symlinks in initrd with copies. Removed symlinks to lvm and
changed syntax (vgscan -> lvm vgscan).

svn path=/nixos/trunk/; revision=9233
2007-09-01 18:05:46 +00:00
Yury G. Kudryashov
3944916856 Support for mounting pseudo-felisystems during stage1
Don't ignore fsType field, don't add /mnt/root to device names not starting with
'/'.

svn path=/nixos/trunk/; revision=9232
2007-09-01 17:59:00 +00:00
Yury G. Kudryashov
0c4a936419 Added .xsession support
If user have ~/.xsession file it will be sourced.

svn path=/nixos/trunk/; revision=9231
2007-09-01 17:57:04 +00:00
Eelco Dolstra
475ee4548d * Create /nix/var/nix/gcroots/per-user.
svn path=/nixos/trunk/; revision=9189
2007-08-22 14:58:51 +00:00
Michael Raskin
f7d2ccdb87 Added mod_php option for httpd.
svn path=/nixos/trunk/; revision=9155
2007-08-18 15:19:27 +00:00
Eelco Dolstra
2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
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
2007-08-16 15:09:06 +00:00
Eelco Dolstra
ad22e587ab * nixos-rebuild: do a nix-pull on the Nixpkgs channel manifest. I.e., you
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
2007-08-15 12:01:20 +00:00
Eelco Dolstra
cc4d0d118a * Remove old manifests in the installer.
svn path=/nixos/trunk/; revision=9130
2007-08-15 09:30:28 +00:00
Eelco Dolstra
cc3803f207 * An Upstart job for ifplugd, which monitors Ethernet interfaces
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
2007-08-14 16:43:56 +00:00
Michael Raskin
45c9f350b1 Corrected ircd-hybrid to fix the problem with finishing terminal-keeping thread.
svn path=/nixos/trunk/; revision=9107
2007-08-13 10:45:16 +00:00
Michael Raskin
db3e598ba9 Corrected IRCD.
svn path=/nixos/trunk/; revision=9103
2007-08-11 21:48:08 +00:00
Michael Raskin
02c3fc72d8 Made ircd-hybrid wait gw6c coming up if it is enabled at all.
svn path=/nixos/trunk/; revision=9096
2007-08-10 18:52:35 +00:00
Eelco Dolstra
05e9b29525 * Search /nix/var/nix/manifests for GC roots under NixOS.
svn path=/nixos/trunk/; revision=9090
2007-08-09 23:54:23 +00:00
Eelco Dolstra
9cb4834270 * Add the default profile and the user's profile to $KDEDIRS.
This is necessary for some KDE applications.

svn path=/nixos/trunk/; revision=9087
2007-08-09 19:59:48 +00:00
Michael Raskin
bb25a6ef96 Added short keep-alive period to gw6c, added ircd-hybrid service.
svn path=/nixos/trunk/; revision=9071
2007-08-08 20:42:25 +00:00
Michael Raskin
8843f3c287 Corrected dependencies for gw6c; also made httpd depend on gw6c if needed.
svn path=/nixos/trunk/; revision=9029
2007-08-02 21:26:38 +00:00
Eelco Dolstra
333d0dfe17 * Forward udev events to HAL.
svn path=/nixos/trunk/; revision=9016
2007-07-22 02:07:02 +00:00
Wouter den Breejen
13f94dacc5 Added mirrors for bootsplash.de files
svn path=/nixos/trunk/; revision=9008
2007-07-20 12:33:46 +00:00
Michael Raskin
055a950331 Apache httpd customization - extraDirectories & noUserDir .
svn path=/nixos/trunk/; revision=8985
2007-07-15 11:16:01 +00:00
Michael Raskin
bf1033d2cb Added Gateway6 upstart-job and options for it. Sudo configuration for PAM
is added (it is needed anyway), but still only NOPASSWD entries work.

svn path=/nixos/trunk/; revision=8966
2007-07-09 11:21:04 +00:00
Eelco Dolstra
2cfd8c9a3a * Work properly when lvm is disabled.
svn path=/nixos/trunk/; revision=8947
2007-07-05 14:19:48 +00:00
Yury G. Kudryashov
cd1023c50d * Added boot.initrd.lvm flag for use NixOS with LVM2 root partition.
* Added sis support for xserver.

svn path=/nixos/trunk/; revision=8924
2007-06-28 09:57:36 +00:00
Michael Raskin
58b29cd565 Added possibility to give configurations custom names.
svn path=/nixos/trunk/; revision=8915
2007-06-23 16:09:05 +00:00
Michael Raskin
f0d1570377 Added kernel selection parameter, boot.useKernel
svn path=/nixos/trunk/; revision=8914
2007-06-23 15:48:09 +00:00
Michael Raskin
0e92d41124 Added configuration.nix option to add entries into nix.conf .
svn path=/nixos/trunk/; revision=8910
2007-06-21 17:14:33 +00:00
Michael Raskin
9ad649ea36 Added services tree checkout - needed, for example, for apache-httpd
svn path=/nixos/trunk/; revision=8890
2007-06-18 20:33:30 +00:00
Eelco Dolstra
c819d76ec7 * Option boot.extraGrubEntries to add arbitrary text to Grub's menu.lst.
svn path=/nixos/trunk/; revision=8883
2007-06-15 11:40:57 +00:00
Eelco Dolstra
f3f16dc169 * ALSA requires a group named "audio".
svn path=/nixos/trunk/; revision=8863
2007-06-10 20:17:51 +00:00
Eelco Dolstra
4d4387a70e * Allow jobs to specify groups.
svn path=/nixos/trunk/; revision=8862
2007-06-10 20:13:12 +00:00
Eelco Dolstra
1f1db4c48f * Use pam_console to change the ownership of various devices (sound,
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
2007-06-10 20:02:07 +00:00
Eelco Dolstra
ea9e6bdbac * Re-enable some essential X server modules (in particular
extmod, which contains XVideo).

svn path=/nixos/trunk/; revision=8857
2007-06-09 21:12:48 +00:00
Eelco Dolstra
258ef4bf19 * Upstart job for HAL.
svn path=/nixos/trunk/; revision=8854
2007-06-09 20:05:04 +00:00
Eelco Dolstra
02514fc802 * /var/state -> /var/run.
svn path=/nixos/trunk/; revision=8852
2007-06-09 19:46:57 +00:00
Eelco Dolstra
f70df0b275 * Added a job to start the D-Bus system-wide message bus daemon.
svn path=/nixos/trunk/; revision=8848
2007-06-08 18:56:55 +00:00
Eelco Dolstra
29c5178bdf * Declarative specification of user accounts. Jobs can now specify a
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
2007-06-08 15:41:12 +00:00
Eelco Dolstra
566c723986 * Allow the SLiM theme to be overriden.
* Delete the SLiM log file on X startup.

svn path=/nixos/trunk/; revision=8832
2007-06-05 11:51:59 +00:00
Eelco Dolstra
f8ac666090 * PAM config for SLiM.
* Go back to using blowfish as the default password hash,
  now that SLiM supports it through PAM.

svn path=/nixos/trunk/; revision=8830
2007-06-05 11:28:18 +00:00
Eelco Dolstra
15e3ec8dec * Additional debug options for stage 1 (can be passed on the kernel
command line):
  - debug1devices: drop into a shell after modules have been load and
    device nodes have been created.
  - debug1mounts: drop into a shell after file systems have been
    mounted.

svn path=/nixos/trunk/; revision=8804
2007-05-30 10:32:42 +00:00
Eelco Dolstra
6b627a9ca7 * Back out some Wouter-specific profile settings ;-)
svn path=/nixos/trunk/; revision=8801
2007-05-29 19:54:14 +00:00
Eelco Dolstra
c76fa154a6 * Fix the xserver job on non-nvidia cards.
svn path=/nixos/trunk/; revision=8800
2007-05-29 19:53:03 +00:00
Wouter den Breejen
f8d77aa58e samba fix and xserver cleanup
svn path=/nixos/trunk/; revision=8791
2007-05-28 15:39:25 +00:00
Wouter den Breejen
2e50d9cd58 nixos dir: Xserver and samba nixos
svn path=/nixos/trunk/; revision=8784
2007-05-28 14:09:04 +00:00
Eelco Dolstra
aab8fda25a * Option `networking.localCommands' to specify shell commands to be
executed after the network interfaces have been initialised.

svn path=/nixos/trunk/; revision=8752
2007-05-24 14:50:17 +00:00
Eelco Dolstra
4f5de40814 * Add sysvtools to the system path.
svn path=/nixos/trunk/; revision=8738
2007-05-23 14:29:34 +00:00
Eelco Dolstra
bec6f8a516 * Ignore modprobe errors.
svn path=/nixos/trunk/; revision=8713
2007-05-16 19:43:28 +00:00
Eelco Dolstra
7243eb1d1d * Create /bin on the CD to suppress the /bin/sh symlink creation
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
2007-05-09 17:32:41 +00:00
Eelco Dolstra
a779e582cb * Doh.
svn path=/nixos/trunk/; revision=8651
2007-05-02 22:18:57 +00:00