Nicolas Pierron
c787cb1a0a
Replace job tags by a library of function to build upstart jobs.
...
svn path=/nixos/branches/fix-style/; revision=13674
2009-01-02 16:06:41 +00:00
Nicolas Pierron
b47e6675b8
Use generated upstart-job's tags for cron.
...
svn path=/nixos/branches/fix-style/; revision=13593
2008-12-07 12:27:46 +00:00
Nicolas Pierron
2f0e8e370a
Update argument style.
...
svn path=/nixos/branches/fix-style/; revision=13584
2008-12-04 15:48:27 +00:00
Nicolas Pierron
157bb2b71a
Convert "alsa" upstart-job to the fix-style.
...
svn path=/nixos/branches/fix-style/; revision=13379
2008-11-23 01:29:05 +00:00
Nicolas Pierron
9c0eef3bae
Convert "dbus" & "avahi-deamon" upstart-job to the fix-style.
...
svn path=/nixos/branches/fix-style/; revision=13378
2008-11-23 01:28:58 +00:00
Nicolas Pierron
dc634f5297
Convert "hal" upstart-job to the fix-style.
...
svn path=/nixos/branches/fix-style/; revision=13377
2008-11-23 01:28:52 +00:00
Nicolas Pierron
585fd9d911
Convert "gpm" upstart-job to the fix-style.
...
svn path=/nixos/branches/fix-style/; revision=13376
2008-11-23 01:28:45 +00:00
Nicolas Pierron
afe160c6b2
Convert "nagios" upstart-job to the fix-style.
...
svn path=/nixos/branches/fix-style/; revision=13375
2008-11-23 01:28:34 +00:00
Nicolas Pierron
9c751d377d
Use the new scheme for zabbix upstart-job.
...
svn path=/nixos/branches/fix-style/; revision=13329
2008-11-18 18:00:21 +00:00
Nicolas Pierron
3a25babf1b
Use the new scheme for disnix upstart-job.
...
svn path=/nixos/branches/fix-style/; revision=13328
2008-11-18 18:00:15 +00:00
Nicolas Pierron
892d12bccf
- Move some system configuration to options:
...
* system.nssModules
* system.modulesTree
* system.sbin.modprobe
* system.sbin.mount
* nix.envVars
- Remove Arguments that can be accessed either by "config" or "pkgs".
- Use the new scheme for upstart-jobs/default.nix.
This is now a configuration file which is imported by system/options.nix.
- Jobs can now include upstart-job/default.nix:
* upstrat-jobs/cron.nix
* upstart-jobs/dhclient.nix
=> No Nixos file refers to upstart-jobs/default.nix except if one of its options is require to define an extra job. (e.g.: cron, dhclient)
svn path=/nixos/branches/fix-style/; revision=13327
2008-11-18 18:00:09 +00:00
Nicolas Pierron
866987a60e
cron.nix: Use the new option scheme.
...
svn path=/nixos/trunk/; revision=13235
2008-11-09 16:44:43 +00:00
Nicolas Pierron
4a55f02005
"dhclient.nix" is now a self-contained job.
...
svn path=/nixos/trunk/; revision=13228
2008-11-08 21:32:48 +00:00
Eelco Dolstra
1573bdddfb
* CUPS: enabled support for printing via SMB.
...
svn path=/nixos/trunk/; revision=13218
2008-11-07 13:37:28 +00:00
Ludovic Courtès
e15ffa9e3c
Add `gnunetd' Upstart job.
...
svn path=/nixos/trunk/; revision=12802
2008-09-04 20:28:02 +00:00
Eelco Dolstra
ffe45949e8
* Use the right mount command in the filesystems job so that
...
NTFS-3G works properly.
svn path=/nixos/trunk/; revision=12565
2008-08-09 12:03:08 +00:00
Michael Raskin
014b33637c
Added an option to easily allow everyone to use "at".
...
svn path=/nixos/trunk/; revision=12531
2008-08-07 10:09:17 +00:00
Nicolas Pierron
791d8bbc66
Add udev extra option (addUdevPkgs).
...
Add some merge functions.
svn path=/nixos/trunk/; revision=12523
2008-08-06 19:26:47 +00:00
Michael Raskin
cb8067cdb5
More configuratbility for vsFTPd upstart job.
...
svn path=/nixos/trunk/; revision=12472
2008-08-04 09:36:11 +00:00
Eelco Dolstra
5ec1fa2060
* Tabs considered harmful.
...
svn path=/nixos/trunk/; revision=12407
2008-07-23 14:13:27 +00:00
Sander van der Burg
82ddadc27c
Added disnix service
...
svn path=/nixos/trunk/; revision=12283
2008-07-06 18:34:19 +00:00
Eelco Dolstra
6ed65c2d95
* Removing hardware-scan.nix also removed the loading of the
...
kernel modules listed in config.boot.kernelModules. So do
that in the udev job for lack of a better place.
svn path=/nixos/trunk/; revision=12249
2008-07-03 10:45:14 +00:00
Eelco Dolstra
5f60393ffe
* Let udev call modprobe to load modules for all known hardware. This
...
makes the `hardware-scan' job unnecessary. (In fact the new
approach appears to be more thorough; it loads some drivers that
were not previously loaded.)
svn path=/nixos/trunk/; revision=12248
2008-07-02 21:19:04 +00:00
Michael Raskin
7699aaad79
Added BIND
...
svn path=/nixos/trunk/; revision=12233
2008-07-01 12:15:56 +00:00
Michael Raskin
2025d58c2a
At least dovecot and postfix work together and with Thunderbird
...
svn path=/nixos/trunk/; revision=12223
2008-06-30 21:12:02 +00:00
Michael Raskin
eb79938997
Added Postfix; handles at least local delivery with maildir/
...
svn path=/nixos/trunk/; revision=12221
2008-06-30 15:13:02 +00:00
Eelco Dolstra
91e2083d32
* Load the wis-go7007 firmware automatically.
...
svn path=/nixos/trunk/; revision=12170
2008-06-20 16:10:20 +00:00
Eelco Dolstra
a20f4aff60
* Updated the splash screen support for Linux >= 2.6.25.
...
svn path=/nixos/trunk/; revision=12030
2008-06-10 16:10:23 +00:00
Eelco Dolstra
96a8dbfd58
* Upstart jobs for the Zabbix agent and server daemons.
...
svn path=/nixos/trunk/; revision=11998
2008-06-06 09:13:16 +00:00
Michael Raskin
eff945115b
Added gpm service
...
svn path=/nixos/trunk/; revision=11952
2008-06-03 07:06:35 +00:00
Eelco Dolstra
bb1ee3f190
* boot.kernel renamed to boot.kernelPackages (see the help for a
...
description) to allow all kernel-related packages to be overriden
easily. For instance, you can now say in configuration.nix
boot = {
kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
};
to use Linux 2.6.25.x. Externel kernel module packages (like
the NVIDIA drivers) appropriate for this kernel will then be used
automatically.
svn path=/nixos/trunk/; revision=11880
2008-05-22 11:59:46 +00:00
Eelco Dolstra
c44475b085
* Start klogd to send kernel log messages to syslogd.
...
svn path=/nixos/trunk/; revision=11781
2008-05-08 13:47:44 +00:00
Eelco Dolstra
6f64c4ee0d
* syslogd: print messages in the local time zone.
...
* dhcpd: log to facility "local1".
* syslogd: send "local1" messages to /var/log/dhcpd, and "mail"
messages to /var/log/mail.
svn path=/nixos/trunk/; revision=11780
2008-05-08 12:27:01 +00:00
Eelco Dolstra
3979844e22
* Purify syslog.conf (it doesn't have to be in /etc).
...
svn path=/nixos/trunk/; revision=11436
2008-04-01 12:50:47 +00:00
Ludovic Courtès
a0fc21eda3
Add `atd' Upstart job.
...
svn path=/nixos/trunk/; revision=11435
2008-04-01 10:16:35 +00:00
Marc Weber
0fbd66414a
enhanced error reporting missing config attr (new job proposal)
...
svn path=/nixos/trunk/; revision=11279
2008-03-25 00:06:58 +00:00
Marc Weber
465a66ab3f
renamed newProposal directory
...
added two example jobs
svn path=/nixos/trunk/; revision=11146
2008-03-16 15:52:52 +00:00
Marc Weber
e4757b33b1
removed trace lines, Thanks raskin
...
svn path=/nixos/trunk/; revision=11144
2008-03-16 11:03:03 +00:00
Marc Weber
40d9d62879
added mkOption extraConfig for httpd apache service
...
( added \n in config concatenation as well )
added serviceProposal, examples see upstart-jobs/newProposal/*.nix
enhancement: everything belonging to one job is within the same file
(was: upstart-jobs/default.nix, options.nix and the job file)
drawback: options won't be included within the manual
(can be fixed see comments in options.nix)
comment: looking at the funtion newProposalJobs maybe it's overkill?
Hope it pays off if we start having dozens of small different services..
svn path=/nixos/trunk/; revision=11141
2008-03-16 01:05:40 +00:00
Ludovic Courtès
cf16b3acfe
Add `portmap' job.
...
svn path=/nixos/trunk/; revision=11140
2008-03-15 23:40:44 +00:00
Sander van der Burg
6c8bae53c1
Added PermitRootLogin option for sshd
...
svn path=/nixos/trunk/; revision=11121
2008-03-14 12:53:14 +00:00
Ludovic Courtès
9650b0859e
Fix `avahi-daemon' Upstart job.
...
svn path=/nixos/trunk/; revision=11002
2008-03-06 20:56:50 +00:00
Ludovic Courtès
43a4353c67
Add support for the Avahi daemon.
...
The daemon starts correctly but, for some reason, clients fail
to connect to it.
svn path=/nixos/trunk/; revision=10999
2008-03-06 17:11:22 +00:00
Ludovic Courtès
3cde6bd187
Add support for lshd (SSH2 daemon of GNU lsh).
...
svn path=/nixos/trunk/; revision=10969
2008-03-05 16:03:09 +00:00
Michael Raskin
c0dd88a973
Added openfire upstart job. Note: after enabling it first time, go 127.0.0.1:9090 to configure it!
...
svn path=/nixos/trunk/; revision=10930
2008-03-03 19:28:10 +00:00
Tobias Hammerschmidt
672d293c2b
Added support for the Zydas zd1211 firmware.
...
svn path=/nixos/trunk/; revision=10763
2008-02-20 09:01:26 +00:00
Ludovic Courtès
5122633592
Add support for Intel's 4965AGN firmware.
...
svn path=/nixos/trunk/; revision=10735
2008-02-18 16:50:08 +00:00
Eelco Dolstra
8a1d362447
* Postgres job: start postgres directly, don't use the old control
...
script from the services tree.
svn path=/nixos/trunk/; revision=10722
2008-02-18 11:56:43 +00:00
Ludovic Courtès
b98cb9a770
Add BitlBee Upstart job in deamon mode.
...
svn path=/nixos/trunk/; revision=10720
2008-02-18 09:15:10 +00:00
Eelco Dolstra
eca9242918
svn path=/nixos/trunk/; revision=10624
2008-02-11 11:51:51 +00:00
Sander van der Burg
7fad8dc1b9
Changed some variable names to follow the standard convention
...
svn path=/nixos/trunk/; revision=10542
2008-02-07 13:37:20 +00:00
Sander van der Burg
76897682c4
Added vsftpd upstart job
...
svn path=/nixos/trunk/; revision=10540
2008-02-07 12:41:18 +00:00
Sander van der Burg
90f34e204d
Added ejabberd service
...
svn path=/nixos/trunk/; revision=10495
2008-02-04 13:40:01 +00:00
Eelco Dolstra
707e515f82
* Option to enable support for the WIS GO7007.
...
svn path=/nixos/trunk/; revision=10491
2008-02-04 10:52:58 +00:00
Eelco Dolstra
9f62e1a6a5
* Declarative specification of the system cron jobs. Ideally
...
this would abstract over the Crontab syntax though.
svn path=/nixos/trunk/; revision=10447
2008-02-01 12:01:27 +00:00
Sander van der Burg
b3ff0f8a59
Added tomcat service to NixOS
...
svn path=/nixos/trunk/; revision=10402
2008-01-30 11:00:00 +00:00
Sander van der Burg
8d5884e01f
Added JBoss service
...
svn path=/nixos/trunk/; revision=10309
2008-01-28 15:16:14 +00:00
Sander van der Burg
a73c26875a
Added MySQL service to NixOS
...
svn path=/nixos/trunk/; revision=10305
2008-01-28 14:30:18 +00:00
Eelco Dolstra
cfed953b5f
* Option to enable the Intel 3945 firmware. (It's enabled by
...
default since it doesn't seem to have the legal issues of
the Intel 2200 firmware.)
* Firmware loader: don't write in /tmp. Also a hack to quickly
test new firmwares.
* Revert r10105 since the build fails if configuration.nix
is a symlink. Anyway copying configuration.nix does not
necessarily make sense since it can import other expressions,
which would also have to be copied. Perhaps a better
approach would be to write a serialisation of the config
to a file (maybe with builtins.toXML).
svn path=/nixos/trunk/; revision=10127
2008-01-12 22:53:13 +00:00
Eelco Dolstra
3abf5072ce
* Installation CD: start a web browser showing the NixOS manual on
...
tty7.
* Add w3m to the installation CD's path since it's needed for the
manual anyway.
svn path=/nixos/trunk/; revision=10074
2008-01-04 16:11:12 +00:00
Eelco Dolstra
8f0e88d4e5
* Just pass all of Nixpkgs to xserver.nix.
...
svn path=/nixos/trunk/; revision=10068
2008-01-04 10:54:33 +00:00
Eelco Dolstra
b73424833a
* xserver.nix: remove some unnecessary function arguments.
...
* isClone: changed into a boolean rather than a string "on" or "off".
svn path=/nixos/trunk/; revision=10067
2008-01-04 10:36:14 +00:00
Michael Raskin
27d5e93920
Added choice of sound devices mode.
...
svn path=/nixos/trunk/; revision=10045
2008-01-02 10:07:52 +00:00
Michael Raskin
55b977dcbf
Changes to xserver to export configuration and to allow not to run the job on boot, changes to filesystems job to autocreate some mountpoints (/dev/shm..)
...
svn path=/nixos/trunk/; revision=9987
2007-12-31 08:55:40 +00:00
Eelco Dolstra
d987b16112
* More declarative specification of the DHCPD config.
...
svn path=/nixos/trunk/; revision=9856
2007-12-04 14:53:37 +00:00
Michael Raskin
aeced64d0e
Added PostgreSQL job.
...
svn path=/nixos/trunk/; revision=9830
2007-12-03 04:48:31 +00:00
Eelco Dolstra
9dd7891820
* Options for configuring the (mail) domain.
...
svn path=/nixos/trunk/; revision=9785
2007-11-23 17:12:37 +00:00
Eelco Dolstra
e7e685e4ce
* Allow Upstart jobs to declare extra configuration for Apache.
...
Did this for Nagios. Soon we can rename upstart-jobs to
services/plugins/whatever (i.e. an Upstart job will just be
one kind of configuration item that a plugin can declare).
svn path=/nixos/trunk/; revision=9778
2007-11-23 10:56:12 +00:00
Eelco Dolstra
f6fd10cbd8
* Support for system-wide distributed / multi-platform builds.
...
Just set nix.distributedBuilds to true and nix.buildMachines
to a list of machines that can perform Nix builds via SSH,
and local builds will be forwarded appropriately. So now
any user can say something like
nix-build /etc/nixos/nixpkgs/ --arg system '"powerpc-linux"' -A libxml2
and the build for powerpc-linux will be forwarded to a machine
of that type.
svn path=/nixos/trunk/; revision=9696
2007-11-15 17:16:16 +00:00
Eelco Dolstra
8b85db0728
* Upstart job for Nagios (system/network monitoring daemon).
...
svn path=/nixos/trunk/; revision=9658
2007-11-12 16:43:35 +00:00
Eelco Dolstra
2fc94b76fe
* Eliminate all calls to config.get.
...
svn path=/nixos/trunk/; revision=9619
2007-11-09 18:49:45 +00:00
Michael Raskin
8c9d312e21
Added xfs; fixed nixos-checkout
...
svn path=/nixos/trunk/; revision=9579
2007-11-05 08:54:30 +00:00
Eelco Dolstra
48acdef3c9
* Use the stdenv that does support \n in replacements.
...
svn path=/nixos/trunk/; revision=9399
2007-10-03 14:48:41 +00:00
Michael Raskin
cf1140ee11
Added option for external firmware.
...
svn path=/nixos/trunk/; revision=9379
2007-09-28 07:58:40 +00:00
Michael Raskin
51626b0b66
Added checking of unkonwn options in configuration.nix and a system-wide font set changer.
...
svn path=/nixos/trunk/; revision=9370
2007-09-25 19:00:20 +00:00
Michael Raskin
a34885af7e
Added synaptics support to xserver upstart-job.
...
svn path=/nixos/trunk/; revision=9366
2007-09-24 09:02:43 +00:00
Michael Raskin
8f126de2fb
Changed X server upstart expression a bit, now works for my Intel 915GM notebook (with vesa at least).
...
svn path=/nixos/trunk/; revision=9364
2007-09-24 05:16:15 +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
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
Eelco Dolstra
333d0dfe17
* Forward udev events to HAL.
...
svn path=/nixos/trunk/; revision=9016
2007-07-22 02:07:02 +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
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
Eelco Dolstra
4d4387a70e
* Allow jobs to specify groups.
...
svn path=/nixos/trunk/; revision=8862
2007-06-10 20:13:12 +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
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
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
174f4f2c99
* Set the console font, the keymap, and Unicode/ASCII mode.
...
svn path=/nixos/trunk/; revision=8542
2007-04-04 17:10:38 +00:00
Eelco Dolstra
a9635d3b73
* Upstart job for the CUPS daemon.
...
svn path=/nixos/trunk/; revision=8534
2007-04-02 17:31:58 +00:00
Eelco Dolstra
e312a8ef64
* Start the SSH agent on X11 login.
...
svn path=/nixos/trunk/; revision=8531
2007-04-02 15:01:09 +00:00
Eelco Dolstra
f10a95e88e
* Refactoring: move stuff around.
...
svn path=/nixos/trunk/; revision=8506
2007-03-30 12:59:43 +00:00