Nicolas Pierron
1533dec09d
* etc/default.nix is now a configuration file.
...
* the script used to build the etc directory in stored in config.system.build.etc.
* The activation script is defined inside etc/Default.nix instead of system/activate-configuration.sh
svn path=/nixos/branches/fix-style/; revision=13676
2009-01-02 16:06:52 +00:00
Nicolas Pierron
e7e45dbd2c
Start moving the "activate configuration" script to be extensible.
...
svn path=/nixos/branches/fix-style/; revision=13675
2009-01-02 16:06:46 +00:00
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
1236cf61f4
replace ifEnable by mkIf and mkThenElse.
...
svn path=/nixos/branches/fix-style/; revision=13382
2008-11-23 01:29:25 +00:00
Nicolas Pierron
205a7431ac
Remove extra arguments comming from config.*.
...
svn path=/nixos/branches/fix-style/; revision=13381
2008-11-23 01:29:20 +00:00
Nicolas Pierron
3b2016569a
Replace some ${nixpkgsPath}/pkgs by ${pkgs.path}.
...
svn path=/nixos/branches/fix-style/; revision=13380
2008-11-23 01:29:13 +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
a63ea50ee9
Fix zabbix-server.nix.
...
svn path=/nixos/branches/fix-style/; revision=13374
2008-11-23 01:28:25 +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
Ludovic Courtès
d7c321c64a
bashrc: Initialize `GST_PLUGIN_PATH' (GStreamer's plug-in search path).
...
svn path=/nixos/trunk/; revision=13254
2008-11-11 17:08:04 +00:00
Nicolas Pierron
2ed34fae67
Extract "locate" job from the "cron" job.
...
svn path=/nixos/trunk/; revision=13236
2008-11-09 16:44:53 +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
2e6c2f9aaf
Add config.etc option to add extra /etc/* files.
...
svn path=/nixos/trunk/; revision=13234
2008-11-09 16:44:37 +00:00
Nicolas Pierron
92f790036c
Replace obsolete name.
...
svn path=/nixos/trunk/; revision=13233
2008-11-09 16:44:31 +00:00
Nicolas Pierron
ed1df64e2a
fix typo in the upstart jobs example.
...
svn path=/nixos/trunk/; revision=13232
2008-11-09 16:44:22 +00:00
Nicolas Pierron
b73a579d18
Fix previous commit.
...
svn path=/nixos/trunk/; revision=13229
2008-11-08 21:45:58 +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
4a936d51ae
* Hack for testing.
...
svn path=/nixos/trunk/; revision=13221
2008-11-07 13:39:02 +00:00
Eelco Dolstra
1ef6d0c61b
* growisofs needs to be setuid for high priority scheduling.
...
svn path=/nixos/trunk/; revision=13220
2008-11-07 13:38:46 +00:00
Eelco Dolstra
37b57e84cf
* Disable the warning about missing wrapped setuid programs for now.
...
svn path=/nixos/trunk/; revision=13219
2008-11-07 13:38:05 +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
Eelco Dolstra
d1cf5f164e
* CUPS needs a PAM configuration file to allow users to authenticate
...
via the web interface (e.g. when adding printers).
svn path=/nixos/trunk/; revision=13214
2008-11-07 11:51:17 +00:00
Michael Raskin
c76632804c
meta.function -> passthru.function
...
svn path=/nixos/trunk/; revision=13191
2008-11-04 21:24:58 +00:00
Eelco Dolstra
f549ee6009
* Always add "iceauth" to the PATH (not just when sessionType ==
...
"kde") so that KDE applications work even when not running KDE.
svn path=/nixos/trunk/; revision=13154
2008-10-29 16:15:58 +00:00
Eelco Dolstra
4bd1537860
* Create /nix/var/nix/chroots in the activation script
...
and re-create it at boot time.
svn path=/nixos/trunk/; revision=13152
2008-10-29 15:43:37 +00:00
Eelco Dolstra
97f5a8eda7
* Mount /dev/pts in the chroot.
...
svn path=/nixos/trunk/; revision=13151
2008-10-29 15:42:44 +00:00
Eelco Dolstra
1ad5997776
* Set $PERL5LIB.
...
svn path=/nixos/trunk/; revision=13148
2008-10-29 13:41:32 +00:00
Eelco Dolstra
ea67a42d26
* Continue booting when loading a kernel module fails. For instance,
...
on my system when booting Linux 2.6.27, ide-generic fails with
"Cannot allocate memory" (maybe because ata_piix already claimed the
IDE devices?).
svn path=/nixos/trunk/; revision=13147
2008-10-29 13:38:43 +00:00
Eelco Dolstra
3a9700b226
* Include the kernel version in the description for
...
each Grub menu entry. (Ideally, we would show
what changed between each entry, e.g. "KDE upgraded to 4.1",
but that would be hard to do generically.)
svn path=/nixos/trunk/; revision=13146
2008-10-29 13:24:00 +00:00
Eelco Dolstra
d146d9945b
* Disable deleting /tmp at boot time. This should be controlled
...
by an option (which should default to off, IMHO). I was rather
surprised when I rebooted my system and it started deleting all
of /tmp (which, for instance, contained some test DB/repos for
the Subversion server)...
svn path=/nixos/trunk/; revision=13145
2008-10-29 13:10:49 +00:00
Marc Weber
32b263e429
added system cron mailto option
...
svn path=/nixos/trunk/; revision=13114
2008-10-25 22:03:12 +00:00
Michael Raskin
1d55390e1c
An option for XRandr support. Use it for dualhead ATi (and probably Intel) cards.
...
svn path=/nixos/trunk/; revision=13109
2008-10-24 10:30:38 +00:00
Marc Weber
a99b82b987
Misspelling the video driver name results in a thrown message now
...
small refactorings, list of known drivers is an attr set, optional is imported from lib etc
svn path=/nixos/trunk/; revision=13048
2008-10-10 16:45:56 +00:00
Ludovic Courtès
4891014cca
boot-stage-2-init.sh: Delete files under `/tmp'.
...
svn path=/nixos/trunk/; revision=13034
2008-10-09 20:05:52 +00:00
Ludovic Courtès
f7770a6b63
In bashrc', don't add non-existent directories to
ACLOCAL_PATH'.
...
svn path=/nixos/trunk/; revision=13033
2008-10-09 19:58:11 +00:00
Marc Weber
d438b972b1
nixos-rebuild: take NIXPKGS location from env, too
...
svn path=/nixos/trunk/; revision=12981
2008-10-06 23:23:28 +00:00
Eelco Dolstra
5ea24925b5
* Use Subversion 1.5.
...
svn path=/nixos/trunk/; revision=12980
2008-10-06 23:02:20 +00:00
Eelco Dolstra
ec1d1ef851
* Urgh, there's got to be a more generic way of dealing
...
with the Python version...
svn path=/nixos/trunk/; revision=12972
2008-10-06 13:40:14 +00:00
Michael Raskin
e89cdc0de7
Found it useful to have a place to export assorted things from system configuration..
...
svn path=/nixos/trunk/; revision=12932
2008-10-01 15:56:01 +00:00
Marc Weber
77d1d30e97
doh, removed debug statement and superfluous wrong character
...
svn path=/nixos/trunk/; revision=12862
2008-09-14 13:29:09 +00:00
Marc Weber
ca031ce720
httpd.extraModules: now accpets string items loading modules beeing distributed by apache
...
removed pkgs : arg
svn path=/nixos/trunk/; revision=12861
2008-09-14 01:30:45 +00:00
Eelco Dolstra
d5da3185fe
svn path=/nixos/trunk/; revision=12853
2008-09-12 16:31:39 +00:00