Eelco Dolstra
d2b3c2cda4
* Start fixing the NFS mess. It was completely broken because the
...
exportfs job didn't work at all (so /var/lib/nfs/etab didn't get
initialised).
svn path=/nixos/trunk/; revision=33153
2012-03-16 13:00:27 +00:00
Shea Levy
8ad872ca03
Revert r33139
...
I didn't end up needing it and there's a better way to do what I wanted if I
did.
svn path=/nixos/trunk/; revision=33150
2012-03-16 12:01:08 +00:00
Shea Levy
d9e28e909c
Move NixosBootPkg into NixOS
...
svn path=/nixos/trunk/; revision=33149
2012-03-16 11:53:50 +00:00
Shea Levy
c61d919941
Typographical conventions
...
svn path=/nixos/trunk/; revision=33148
2012-03-16 11:31:33 +00:00
Shea Levy
358b699c20
installation-cd-efi: Only build a minimal cd
...
svn path=/nixos/trunk/; revision=33147
2012-03-16 11:25:09 +00:00
Shea Levy
a315eefca1
Restore old installation-cd-new-kernel.nix and create a new installation-cd-efi.nix
...
svn path=/nixos/trunk/; revision=33146
2012-03-16 11:22:05 +00:00
Shea Levy
95bec1c001
efiBootStub: Properly handle the removableMediaImage path on different architectures
...
svn path=/nixos/trunk/; revision=33141
2012-03-16 06:08:55 +00:00
Shea Levy
8efda48496
Enable building an efi-bootable ISO
...
svn path=/nixos/trunk/; revision=33140
2012-03-16 05:37:24 +00:00
Shea Levy
b89a65e54c
Allow multiple definitions of boot.loader.kernelFile as long as they are all the same
...
svn path=/nixos/trunk/; revision=33139
2012-03-16 03:20:12 +00:00
Shea Levy
1bccbc30cd
efiBootStub: Assert that the
...
kernel has the efiBootStub feature
svn path=/nixos/trunk/; revision=33138
2012-03-16 02:55:17 +00:00
Shea Levy
4caf3560be
efiBootStub: Add the installRemovableMediaImage option
...
svn path=/nixos/trunk/; revision=33135
2012-03-16 02:34:07 +00:00
Eelco Dolstra
f4903be57e
* nixos-hardware-scan: detect if we're in a VirtualBox guest and
...
enable the guest additions in that case.
svn path=/nixos/trunk/; revision=33133
2012-03-16 01:57:23 +00:00
Eelco Dolstra
53bd25c7fa
* Automatically start VBoxClient-all when the X session starts. This
...
allows seamless windows, resizing of the desktop, cut and paster,
etc.
svn path=/nixos/trunk/; revision=33131
2012-03-16 01:29:51 +00:00
Eelco Dolstra
4adc99f9a5
* Enable the VirtualBox X11 display and mouse drivers.
...
svn path=/nixos/trunk/; revision=33130
2012-03-16 01:03:09 +00:00
Eelco Dolstra
3ddbe0f9fb
* Drop references to activation scriptlets that no longer exist.
...
svn path=/nixos/trunk/; revision=33110
2012-03-15 14:21:17 +00:00
Eelco Dolstra
6b2dfbda00
* Make the mountall job depend on /etc/fstab so that it gets restarted
...
when fstab changes.
svn path=/nixos/trunk/; revision=33108
2012-03-15 13:54:23 +00:00
Yury G. Kudryashov
9bb1132525
NM: add IFACE to ip-up
...
svn path=/nixos/trunk/; revision=33107
2012-03-15 13:51:17 +00:00
Eelco Dolstra
1186167be2
* Fix xserver restart with cfg.driSupport32Bit. Contributed by Kirill
...
Elagin.
svn path=/nixos/trunk/; revision=33099
2012-03-15 10:26:08 +00:00
Yury G. Kudryashov
339d5b2b48
Add NetworkManager module
...
It works but it doesn't respect ignoredInterfaces etc.
Probably I forgotten to create some directories (all of them exist on my
laptop). Feel free to fix this module.
svn path=/nixos/trunk/; revision=33097
2012-03-15 07:19:17 +00:00
Yury G. Kudryashov
34c2f2cf58
gtkLibs.gtk moved to gtk
...
svn path=/nixos/trunk/; revision=33096
2012-03-15 07:19:12 +00:00
Shea Levy
001fcad421
First shot at EFI booting.
...
Note: This feature is INCOMPLETE. Moreover, when runEfibootmgr is true it will
MODIFY NVRAM and, on Apple systems, possibly brick your firmware. PLEASE be
careful while further testing is performed
svn path=/nixos/trunk/; revision=33047
2012-03-13 19:27:59 +00:00
Eelco Dolstra
db0e7787ce
* Add a 32-bit AMI that finally seems to boot reliably.
...
svn path=/nixos/trunk/; revision=33034
2012-03-13 15:03:41 +00:00
Lluís Batlle i Rossell
dd6eb81797
Adding /etc/mdadm.conf, with the contents supplied at boot.initrd.mdadmConf.
...
This allows setting a fixed device name per array, thus ensuring that at boot,
the arrays will always be mounted with the same names. I think this allows
solving the problem of grub getting confused about softraid device names
(prefix and root), if the devices always get the same naming at initrd.
svn path=/nixos/trunk/; revision=33033
2012-03-13 13:26:21 +00:00
Eelco Dolstra
b6d43e1aca
* Fix Amazon image generation (broken by r32913).
...
svn path=/nixos/trunk/; revision=33032
2012-03-13 13:17:43 +00:00
Eelco Dolstra
b4d16ef07e
* Fix nixos-option.
...
svn path=/nixos/trunk/; revision=33031
2012-03-13 09:36:41 +00:00
Eelco Dolstra
f2870ea7b5
* tty1 needs to be treated specially because of the emergency-shell
...
job.
svn path=/nixos/trunk/; revision=33018
2012-03-12 14:42:52 +00:00
Eelco Dolstra
7f72dead3b
* Fix the waitOnMounts option. For some reason we lost its
...
implementation.
svn path=/nixos/trunk/; revision=33017
2012-03-12 14:33:06 +00:00
Ludovic Courtès
5fad465261
BitlBee: Add `job.name'; cleanup white space.
...
svn path=/nixos/trunk/; revision=33012
2012-03-12 13:10:13 +00:00
Eelco Dolstra
7281a851b3
* Create a /usr/bin/env symlink. This allows scripts from other
...
distributions with shebang lines such as
#! /usr/bin/env python
to work correctly.
svn path=/nixos/trunk/; revision=33011
2012-03-12 10:41:39 +00:00
Lluís Batlle i Rossell
9e980235bd
Properly filter a possible lack of "grub.device", in case of using only "grub.devices".
...
svn path=/nixos/trunk/; revision=33009
2012-03-12 09:42:24 +00:00
Lluís Batlle i Rossell
3c0fdaf877
Adding /dev/tty to the stage1, so 'more' and 'less' now page well.
...
svn path=/nixos/trunk/; revision=33006
2012-03-11 23:04:29 +00:00
Lluís Batlle i Rossell
ee163c2c80
Making the stage2 interpreter bash non-interactive, while keeping the
...
interactive shell with bash interactive. Suggested by Eelco.
svn path=/nixos/trunk/; revision=33005
2012-03-11 22:43:37 +00:00
Lluís Batlle i Rossell
1a48572b75
Disabling the initrd extra tools by default, until further review.
...
svn path=/nixos/trunk/; revision=33004
2012-03-11 22:28:31 +00:00
Lluís Batlle i Rossell
2fc537277b
Removing a 'set -x' in the stage1 extra tools.
...
svn path=/nixos/trunk/; revision=33003
2012-03-11 22:26:01 +00:00
Lluís Batlle i Rossell
d2e2bb4bc4
Typo
...
svn path=/nixos/trunk/; revision=33002
2012-03-11 22:07:37 +00:00
Lluís Batlle i Rossell
331b1f46d3
Making the stage2 'debug2' spawn a shell with job control, like in stage1, running it in a
...
virtual terminal and not in the console. This brings wonderful things like ^C.
svn path=/nixos/trunk/; revision=33001
2012-03-11 22:01:46 +00:00
Lluís Batlle i Rossell
bbebba68f7
A more friendly stage1, with interactive bash, busybox plenty of tools, etc.
...
I set it as default because users can benefit of this without having to prepare
their nixos first, and I don't think it will break any nixos for the initrd
size increase.
It can be disabled with 'boot.initrd.withExtraTools = false'.
svn path=/nixos/trunk/; revision=33000
2012-03-11 21:56:47 +00:00
Lluís Batlle i Rossell
6a0958cc06
Making stage2 get a full interactive bash for the stage2 init, so there the shell has readline,
...
jobs, etc.
svn path=/nixos/trunk/; revision=32999
2012-03-11 21:50:35 +00:00
Lluís Batlle i Rossell
29ca7f2c80
Adding VIA_RHINE to the system tarball pc. I need to boot one with PXE and nfsroot with via rhine.
...
svn path=/nixos/trunk/; revision=32994
2012-03-11 16:39:49 +00:00
Mathijs Kwik
f68c95d1fe
completely removed gw6c. use gogoclient
...
svn path=/nixos/trunk/; revision=32990
2012-03-11 14:36:39 +00:00
Florian Friesdorf
769cbaf56a
fix postfix config, missing linebreak
...
svn path=/nixos/trunk/; revision=32980
2012-03-11 11:12:02 +00:00
Florian Friesdorf
5115e6a1d0
keep NIX_PATH in sudo env
...
fixes:
file `nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
svn path=/nixos/trunk/; revision=32973
2012-03-10 16:11:40 +00:00
Eelco Dolstra
45fab492fc
* nixos-hardware-scan: "acpi-cpufreq" is automatically loaded, so we
...
don't need to detect it.
* nixos-hardware-scan: don't use modulesPath.
svn path=/nixos/trunk/; revision=32972
2012-03-10 14:35:31 +00:00
Eelco Dolstra
de6968c163
* Virtualbox: use the right set of kernel packages.
...
svn path=/nixos/trunk/; revision=32971
2012-03-10 14:34:40 +00:00
Eelco Dolstra
9d89ca0c03
* Modularise vfat support. Also add fsck.vfat to the initrd. This
...
prevents errors when booting from VFAT (e.g. an ISO image converted
using unetbootin).
svn path=/nixos/trunk/; revision=32956
2012-03-09 16:17:37 +00:00
Eelco Dolstra
03ebb883d1
* Modularize filesystem support. Filesystems such as btrfs and
...
reiserfs now have separate modules that are conditional on
boot.supportedFilesystems and boot.initrd.supportedFilesystems.
By default, these include the filesystems specified in the fsType
attribute in fileSystems. Ext2/3/4 support is currently
unconditional.
Also unbreak the installer test (http://hydra.nixos.org/build/2272302 ).
svn path=/nixos/trunk/; revision=32954
2012-03-09 14:37:58 +00:00
Peter Simons
8708578181
services/printing/cupsd.nix: move the gstoraster.convs file from /etc/cups into the compiled backends directory in the store
...
svn path=/nixos/trunk/; revision=32951
2012-03-09 10:24:31 +00:00
Lluís Batlle i Rossell
13ac0a309b
Allow a way to install grub to multiple devices (for /boot on soft raid arrays).
...
svn path=/nixos/trunk/; revision=32913
2012-03-08 21:37:30 +00:00
Lluís Batlle i Rossell
9d1b72a6c7
Making nixos fileSystems aware of fsType "reiserfs" and "btrfs", regarding
...
modules, tools, intrd pieces, ...
That's only useful if the user specifies fsType, though.
svn path=/nixos/trunk/; revision=32912
2012-03-08 21:07:25 +00:00
Lluís Batlle i Rossell
98dde13782
If enabling luks on initrd, also adding cryptsetup to system packages. I think it's useful.
...
svn path=/nixos/trunk/; revision=32910
2012-03-08 20:49:26 +00:00
Eelco Dolstra
e97817b577
* Atomically replace the /bin/sh symlink; otherwise there is a time
...
window in which /bin/sh is missing. This can cause concurrently
running programs to fail (e.g. Hydra jobs =>
http://hydra.nixos.org/build/2267831 ). You'd think the odds of this
are very low, but they're not.
svn path=/nixos/trunk/; revision=32901
2012-03-08 16:08:03 +00:00
Eelco Dolstra
4869175158
* Fix the installer. The nixos-config element in $NIX_PATH was not
...
set (and neither was $NIXOS_CONFIG).
(http://hydra.nixos.org/build/2230309 ).
svn path=/nixos/trunk/; revision=32857
2012-03-07 21:17:46 +00:00
Eelco Dolstra
a2417fd92f
* Another workaround for the bug in substitute.
...
svn path=/nixos/trunk/; revision=32814
2012-03-06 10:57:52 +00:00
Eelco Dolstra
974a74ad49
* enableWLAN -> wireless.enable.
...
svn path=/nixos/trunk/; revision=32788
2012-03-04 21:15:34 +00:00
Lluís Batlle i Rossell
0b8e992d3d
Setting the kernel 3.2 for the new-kernel nixos iso.
...
svn path=/nixos/trunk/; revision=32785
2012-03-04 21:01:20 +00:00
Lluís Batlle i Rossell
1adaabef58
Adding an option to luksroot, so it allows to define whether to launch cryptsetup after or before LVM.
...
To allow dmcrypt over lvm and lvm over dmcrypt.
svn path=/nixos/trunk/; revision=32784
2012-03-04 21:00:35 +00:00
Eelco Dolstra
0d4eb37e16
* Fix the NixOS jobset.
...
svn path=/nixos/trunk/; revision=32783
2012-03-04 20:57:34 +00:00
Mathijs Kwik
7d964498b8
changed the way networking-providers plug themselves before "networking"
...
svn path=/nixos/trunk/; revision=32781
2012-03-04 18:44:47 +00:00
Mathijs Kwik
8bfe513e75
renamed "all-interfaces" to "networking"
...
svn path=/nixos/trunk/; revision=32780
2012-03-04 18:44:42 +00:00
Eelco Dolstra
29b6b8769f
* On second thought, let's not enable user support in Upstart. The
...
first user job I put in ~/.init caused Upstart to crash with an
assertion failure, taking down the system. Given that Upstart has a
non-trivial attack surface with this feature, it seems best to
disable it.
svn path=/nixos/trunk/; revision=32779
2012-03-04 17:49:00 +00:00
Eelco Dolstra
835170fe19
* Remove debug statement.
...
svn path=/nixos/trunk/; revision=32778
2012-03-04 17:21:33 +00:00
Eelco Dolstra
356ff79400
* wpa_supplicant: automatically figure out the wireless interface(s)
...
on which to run wpa_supplicant, unless they're set explicitly.
svn path=/nixos/trunk/; revision=32777
2012-03-04 17:21:14 +00:00
Eelco Dolstra
8935db253c
* Upstart jobs: don't emit a description if there is none.
...
svn path=/nixos/trunk/; revision=32775
2012-03-04 16:17:56 +00:00
Eelco Dolstra
e11e9b4ef0
* Provide info's manpage.
...
svn path=/nixos/trunk/; revision=32774
2012-03-04 16:10:19 +00:00
Eelco Dolstra
2ac5df3a93
* Undo unintended commit.
...
svn path=/nixos/trunk/; revision=32771
2012-03-04 15:48:58 +00:00
Eelco Dolstra
6c792b3d9e
* A more pragmatic solution to the missing tar manpage problem.
...
svn path=/nixos/trunk/; revision=32770
2012-03-04 15:47:44 +00:00
Eelco Dolstra
0d39390ad4
* ntpd: cleanup.
...
svn path=/nixos/trunk/; revision=32769
2012-03-04 15:34:44 +00:00
Eelco Dolstra
545f922e71
* Connect Upstart to the system bus so that non-root users can run
...
initctl.
svn path=/nixos/trunk/; revision=32768
2012-03-04 15:10:14 +00:00
Mathijs Kwik
3c957bd921
gogoclient: ipv6 tunnel module
...
meant to replace the obsolete gw6c module
builds fine on stdenv-updates branch
svn path=/nixos/trunk/; revision=32767
2012-03-04 12:58:22 +00:00
Mathijs Kwik
86bf5566fe
many daemons: depend on all-interfaces instead of gw6c
...
svn path=/nixos/trunk/; revision=32766
2012-03-04 12:58:18 +00:00
Mathijs Kwik
ce83d3580e
gw6c: provide support for all-interfaces
...
svn path=/nixos/trunk/; revision=32765
2012-03-04 12:58:14 +00:00
Mathijs Kwik
77240b46f1
all-interfaces event
...
many services depend on other services that bring up network interfaces.
Examples are ipv6 tunneling clients or VPNs.
As there are multiple choices for these network-interface-providing services,
it's not nice to hardcore these deps in every service.
This change sets up a generic config option for this purpose.
providers (gw6c/gogoclient/openvpn) can plug into this to signal they bring up
an important interface.
Daemons that need these interfaces, can then depend on the 'all-interfaces' event,
instead of the individual services.
By default, the event fires when network-interfaces completes.
svn path=/nixos/trunk/; revision=32764
2012-03-04 12:58:11 +00:00
Mathijs Kwik
6240825e27
mongodb: use the new upstart setuid option
...
svn path=/nixos/trunk/; revision=32763
2012-03-04 12:58:09 +00:00
Mathijs Kwik
dc8ca0ea4a
upstart: options for setuid and setgid
...
as jobs running as different users cannot create their logfile, I moved that to an activationScript
svn path=/nixos/trunk/; revision=32762
2012-03-04 12:58:06 +00:00
Lluís Batlle i Rossell
79d4b11aeb
Making the luks thing of initrd a bit more flexible. I used it to get a
...
ciphered swap, where I could hibernate ciphered.
svn path=/nixos/trunk/; revision=32754
2012-03-03 16:07:18 +00:00
Lluís Batlle i Rossell
1b65b427c3
Setting gnutarWithMan in the system path, instead of gnutar. Thus 'man tar'
...
would work by default.
svn path=/nixos/trunk/; revision=32750
2012-03-03 09:55:08 +00:00
Eelco Dolstra
57cd376016
* Decompress properly.
...
svn path=/nixos/trunk/; revision=32748
2012-03-02 17:06:33 +00:00
Eelco Dolstra
ee0769cc42
* If debug2 is passed on the kernel command line, run Upstart with
...
the --verbose flag to see what it's doing.
svn path=/nixos/trunk/; revision=32747
2012-03-02 16:37:28 +00:00
Eelco Dolstra
5d5fc5f675
* Add an option ‘deployment.virtualbox.baseImage’ to specify the
...
VirtualBox/Charon base image.
svn path=/nixos/trunk/; revision=32743
2012-03-02 14:01:57 +00:00
Eelco Dolstra
65824d40e1
* nixos-rebuild: pass on the -I option to nix-build.
...
svn path=/nixos/trunk/; revision=32741
2012-03-02 13:31:12 +00:00
Eelco Dolstra
f61ad97833
* Run the stage 2 debug shell at a more useful point (just before
...
starting Upstart). This also causes $PATH to be set to something
more sensible.
svn path=/nixos/trunk/; revision=32740
2012-03-02 13:17:05 +00:00
Eelco Dolstra
29d84af677
* Remove the use of the NIXPKGS and NIXOS environment variables.
...
Instead use $NIX_PATH. NIXOS_CONFIG is still supported.
svn path=/nixos/trunk/; revision=32739
2012-03-02 12:38:22 +00:00
Eelco Dolstra
a6f410f144
* Obsolete security.extraSetuidPrograms.
...
svn path=/nixos/trunk/; revision=32723
2012-03-01 20:10:46 +00:00
Eelco Dolstra
58c6231a20
* Added a module for enabling VirtualBox.
...
svn path=/nixos/trunk/; revision=32722
2012-03-01 20:10:08 +00:00
Eelco Dolstra
e8539b6f60
* Generate a resolvconf.conf file for openresolv.
...
svn path=/nixos/trunk/; revision=32718
2012-03-01 14:46:47 +00:00
Eelco Dolstra
742198c6ea
* dhcpcd: Ignore vboxnet*.
...
svn path=/nixos/trunk/; revision=32716
2012-03-01 13:49:47 +00:00
Peter Simons
8c88506e05
modules/config/networking.nix: list extraHosts *after* the local hostname
...
This change allows using extraHosts to specify additional aliases for 127.0.0.1
without overriding the local hostname in the process.
svn path=/nixos/trunk/; revision=32711
2012-02-29 21:25:12 +00:00
Peter Simons
e872efaa8d
fixed mongodb upstart task
...
svn path=/nixos/trunk/; revision=32683
2012-02-28 17:43:54 +00:00
Peter Simons
b5dc3d520e
optionally run "btrfs device scan" during mountall.
...
As reported by Bryce L Nordgren.
Multi-disk btrfs filesystems need to get assembled first before they become mountable.
Enable this by explicitly assigning fsType = "btrfs" in the filesystems list in configuration.nix
svn path=/nixos/trunk/; revision=32682
2012-02-28 17:43:43 +00:00
Eelco Dolstra
4f8d076ae7
* Allow the start/stop condition of OpenVPN jobs to be overriden
...
easily.
svn path=/nixos/trunk/; revision=32673
2012-02-28 10:30:12 +00:00
Eelco Dolstra
f55cf99c7c
* Typo.
...
svn path=/nixos/trunk/; revision=32571
2012-02-26 00:12:04 +00:00
Eelco Dolstra
933ce8e9c8
* Module for building a VirtualBox disk image (.vdi). TODO: merge
...
this with the Amazon and Nova image builders.
svn path=/nixos/trunk/; revision=32570
2012-02-25 21:36:00 +00:00
Eelco Dolstra
aa77ba0c19
* Forgot this.
...
svn path=/nixos/trunk/; revision=32566
2012-02-25 20:11:04 +00:00
Eelco Dolstra
d9d6fb58e4
* Prevent the VirtualBox guest additions from being restarted
...
constantly by Upstart. Also move the module to a better location.
svn path=/nixos/trunk/; revision=32565
2012-02-25 20:10:53 +00:00
Eelco Dolstra
acea54b3c6
* In the users...keyFiles option, the "string" type doesn't work very
...
well because elements could be paths, e.g.
users.extraUsers.root.openssh.authorizedKeys.keyFiles =
[ ./id_key.pub ];
So disable the type check for now.
svn path=/nixos/trunk/; revision=32558
2012-02-25 17:31:39 +00:00
Eelco Dolstra
8f8472d444
* Fix bad default.
...
svn path=/nixos/trunk/; revision=32525
2012-02-23 21:25:22 +00:00
Peter Simons
f0dfd7d06a
made kde4's phonon backends configurable
...
svn path=/nixos/trunk/; revision=32481
2012-02-22 20:29:00 +00:00
Peter Simons
90adc800c5
sshd: choose host key type
...
svn path=/nixos/trunk/; revision=32479
2012-02-22 20:28:54 +00:00
Peter Simons
fca4803a74
gw6c: no built-in log rotation, we use logrotate for that
...
svn path=/nixos/trunk/; revision=32478
2012-02-22 20:28:51 +00:00
Peter Simons
87c102ce2e
intel microcode update module
...
svn path=/nixos/trunk/; revision=32477
2012-02-22 20:28:44 +00:00
Arie Middelkoop
57af9d74e2
Applied the patch of James Cook.
...
svn path=/nixos/trunk/; revision=32445
2012-02-21 10:02:58 +00:00
Eelco Dolstra
b2910df04e
* Various cleanups in the OpenVPN module. The option
...
‘services.openvpn.enable’ is now obsolete; specifying instances in
‘services.openvpn.servers’ is enough.
svn path=/nixos/trunk/; revision=32441
2012-02-20 20:10:07 +00:00
Eelco Dolstra
84bff53ca7
* Set the default value for the ‘path’ job attribute using the NixOS
...
module system so that it can be overriden. Also use an ‘apply’ to
compute the actual $PATH.
svn path=/nixos/trunk/; revision=32440
2012-02-20 19:23:15 +00:00
Eelco Dolstra
35734279ae
* Fix incorrect default value.
...
svn path=/nixos/trunk/; revision=32431
2012-02-20 16:53:44 +00:00
Eelco Dolstra
4e9c8d0b9d
* dhcpcd: restart ntpd and emit ip-up/ip-down events. Also attach the
...
interface name to the events, as suggested by Mathijs Kwik.
svn path=/nixos/trunk/; revision=32430
2012-02-20 15:19:46 +00:00
Eelco Dolstra
a46fd58b3d
* Use the networking.useDHCP out of the dhclient module.
...
svn path=/nixos/trunk/; revision=32428
2012-02-20 14:29:21 +00:00
Eelco Dolstra
7278e37072
* Don't set DBHost if the database is on localhost, otherwise Zabbix
...
will use TCP/IP instead of a Unix domain socket.
* Simplify Zabbix's start condition. Zabbix now retries if the
database is down instead of bailing out.
svn path=/nixos/trunk/; revision=32426
2012-02-20 13:40:47 +00:00
Eelco Dolstra
1770b5a400
* dhcpcd: use a configuration file. Use the "denyinterfaces" option
...
to simplify the start script. Drop the ifplugd hook because dhcpcd
monitors interface link status itself.
svn path=/nixos/trunk/; revision=32424
2012-02-20 13:13:29 +00:00
Eelco Dolstra
ae27eafe4c
* Added a module for dhcpcd, a DHCP client (not enabled by default
...
yet). It's smaller than dhclient and has more features
(e.g. automatically detects link status changes, supports
openresolv, does IPv4LL, and supports IPv6 Router Advertisements).
svn path=/nixos/trunk/; revision=32413
2012-02-20 01:17:53 +00:00
Eelco Dolstra
a218a602d4
* Use openresolv to set the static nameserver configuration. Next
...
step is to get the DHCP client, OpenVPN etc. to use openresolv as
well.
svn path=/nixos/trunk/; revision=32411
2012-02-20 00:00:50 +00:00
Eelco Dolstra
1707d1130f
* Move the dhclient/wpa_supplicant restart actions out of the ifplugd
...
module.
svn path=/nixos/trunk/; revision=32409
2012-02-19 22:53:25 +00:00
Lluís Batlle i Rossell
5c6165ef9f
Reverting 32228. That was an incomplete change I had in the working directory.
...
svn path=/nixos/trunk/; revision=32308
2012-02-15 16:46:25 +00:00
Lluís Batlle i Rossell
97e0131291
Adding support for 3c59x NICs to the system-tarball-pc.
...
svn path=/nixos/trunk/; revision=32229
2012-02-11 21:13:10 +00:00
Lluís Batlle i Rossell
cc1daf97c7
Adding extra options for resolv.conf
...
svn path=/nixos/trunk/; revision=32228
2012-02-11 21:11:05 +00:00
Sander van der Burg
3a9dfceb07
Implemented a very very dirty hack, which makes it possible to statically determine which activation types are supported, instead of determining this by the avahi service
...
svn path=/nixos/trunk/; revision=32089
2012-02-06 22:49:41 +00:00
Peter Simons
89d5aa4dd2
nixos support for nvidia optimus
...
currently, only support for fully disabling nvidia is provided, which
is helpful for saving power/heat.
In the future, this should be extended so we can choose:
- nvidia only (choose between nouveau/nvidia driver)
- IGP only
- Hybrid (choose between nouveau/nvidia driver, use the "bumblebee" package/daemon)
svn path=/nixos/trunk/; revision=32085
2012-02-06 19:14:42 +00:00
Peter Simons
49a3e57d43
frandom: very fast kernel random number generator
...
svn path=/nixos/trunk/; revision=32084
2012-02-06 19:14:37 +00:00
Peter Simons
4f7985a1bd
mongodb: workaround for shutdown issues
...
svn path=/nixos/trunk/; revision=32083
2012-02-06 19:14:33 +00:00
Sander van der Burg
4249f803ad
Removed some tabs
...
svn path=/nixos/trunk/; revision=32051
2012-02-06 14:04:15 +00:00
Sander van der Burg
82ca072c23
Added extraWorkersProperties parameter, so that custom tweaks can be added
...
svn path=/nixos/trunk/; revision=32050
2012-02-06 13:11:48 +00:00
Sander van der Burg
5363c8b8ae
Remove ugly pkgs.tomcat6 references
...
svn path=/nixos/trunk/; revision=32049
2012-02-06 13:03:56 +00:00
Eelco Dolstra
b11a33717f
* zabbix-server: don't require PostgreSQL to be started
...
if we're using a remote server.
svn path=/nixos/trunk/; revision=31852
2012-01-26 13:32:02 +00:00
Florian Friesdorf
fa344f60d9
pathsToLink: emacs org mode contrib folder
...
svn path=/nixos/trunk/; revision=31795
2012-01-23 17:14:24 +00:00
Eelco Dolstra
aca8225e3b
* Invalidate the nscd hosts cache when an "ip-up" event occurs. This
...
event is emitted by dhclient and by the network-interfaces job in
case of statically configured interfaces. Invalidating the cache is
necessary to get rid of negative queries.
svn path=/nixos/trunk/; revision=31779
2012-01-21 19:13:43 +00:00
Sander van der Burg
9a09051f4b
Added MySQL 5.5 NixOS service
...
svn path=/nixos/trunk/; revision=31732
2012-01-20 10:43:18 +00:00
Peter Simons
ec445fbee7
mongodb nixos module
...
svn path=/nixos/trunk/; revision=31658
2012-01-18 20:34:07 +00:00
Peter Simons
5144e94694
gw6c: fixed faulty path reference
...
svn path=/nixos/trunk/; revision=31657
2012-01-18 20:34:04 +00:00
Sander van der Burg
1e59a18f90
Only use mysqladmin authentication if we have supplied a root password
...
svn path=/nixos/trunk/; revision=31632
2012-01-18 15:21:11 +00:00
Sander van der Burg
d4b6aa3553
The MySQL upstart job does not monitor the mysqld process anymore. Instead it is shut down by mysqladmin tool in the postStop phase. Under high load, upstart may send a KILL signal to the mysql daemon, which may cause data corruption.
...
svn path=/nixos/trunk/; revision=31621
2012-01-18 15:01:44 +00:00
Eelco Dolstra
5d12152b13
* Enable xfce4-appfinder.
...
svn path=/nixos/trunk/; revision=31612
2012-01-17 18:15:20 +00:00
Arie Middelkoop
609a02906e
Another type error fix ("The example shouldn't be a string either").
...
svn path=/nixos/trunk/; revision=31538
2012-01-14 12:24:41 +00:00
Arie Middelkoop
2f49427e4f
Fixed the default value for the palmDetect synaptics option (empty string -> false).
...
svn path=/nixos/trunk/; revision=31529
2012-01-14 09:40:08 +00:00
Arie Middelkoop
4d26262878
Some renaming as was mentioned on the mailinglist.
...
Also, removed the firmware-free option because that firmware is already in the kernel package and thus causing collisions otherwise.
svn path=/nixos/trunk/; revision=31527
2012-01-14 09:30:24 +00:00
Arie Middelkoop
50d7a38c82
Added the "conservative" governer to the loaded cpufreq governors when you enable powermanagement.
...
svn path=/nixos/trunk/; revision=31524
2012-01-13 22:25:16 +00:00
Arie Middelkoop
bf1bf4957c
Additional options for synaptics
...
How can you ever work with a touchpad while having finger taps on...
svn path=/nixos/trunk/; revision=31523
2012-01-13 22:23:18 +00:00
Eelco Dolstra
cc41bce79d
* Prevent merging of some options. P.S. maybe string options
...
should be "uniq" by default.
svn path=/nixos/trunk/; revision=31520
2012-01-13 13:26:52 +00:00
Florian Friesdorf
7be82b3f59
fix scsi-link-power-management.nix which broke cpufreq
...
svn path=/nixos/trunk/; revision=31507
2012-01-13 08:46:32 +00:00
Arie Middelkoop
3ef0f14925
Added an option to enable the firmware from 'firmware-linux-nonfree' and 'firmware-linux-free'.
...
svn path=/nixos/trunk/; revision=31502
2012-01-12 17:17:01 +00:00
Florian Friesdorf
0862ca9fa7
sudoers: LOCALE_ARCHIVE, TERMINFO_DIRS for root and %wheel
...
svn path=/nixos/trunk/; revision=31491
2012-01-12 07:54:14 +00:00
Florian Friesdorf
f169f60575
powerManagement.enable sets link_power_management_policy to min_power
...
svn path=/nixos/trunk/; revision=31490
2012-01-12 07:54:09 +00:00
Peter Simons
036e585b42
modules/services/printing/cupsd.nix: tell cups to use 'gstoraster' instead of 'pstoraster'
...
The CUPS filter has been renamed in GNU Ghostscript 9.x. Fortunately,
Ghostscript ships with a MIME conversions file that informs CUPS about this,
so linking that file into /etc/cups works fine. I'm not sure whether it's a
particularly elegant solution, though.
svn path=/nixos/trunk/; revision=31489
2012-01-11 23:17:36 +00:00
Yury G. Kudryashov
98f5e3b3b2
Drop kde4.5-specific code
...
svn path=/nixos/trunk/; revision=31486
2012-01-11 22:58:32 +00:00
Peter Simons
70850268e0
Revert "modules/services/printing/cupsd.nix: fixed path to DataDir"
...
This reverts commit 2a1ce489154c8543bc146a7d99e1a397eb920e1f.
svn path=/nixos/trunk/; revision=31484
2012-01-11 20:48:40 +00:00
Peter Simons
cab4a28361
synaptics: add 'additionalOptions' option
...
svn path=/nixos/trunk/; revision=31469
2012-01-10 18:40:02 +00:00
Peter Simons
6385d51f7e
modules/services/printing/cupsd.nix: fixed path to DataDir
...
svn path=/nixos/trunk/; revision=31457
2012-01-09 16:03:43 +00:00
Florian Friesdorf
66f82c043e
Revert "Revert "add ~/bin to PATH if it exists""
...
sorry m(
svn path=/nixos/trunk/; revision=31246
2012-01-03 17:29:20 +00:00
Florian Friesdorf
68e9f2e09b
Revert "add ~/bin to PATH if it exists"
...
This reverts commit 73bda7c4575b5664d54340db95fec2fa759b6f28.
svn path=/nixos/trunk/; revision=31243
2012-01-03 17:11:21 +00:00
Florian Friesdorf
7b7976ac01
export NIX_PROFILES and NIX_USER_PROFILE_DIR
...
svn path=/nixos/trunk/; revision=31242
2012-01-03 17:11:19 +00:00
Florian Friesdorf
b4765401af
add ~/bin to PATH if it exists
...
svn path=/nixos/trunk/; revision=31235
2012-01-03 14:36:05 +00:00
Florian Friesdorf
007d56b69f
intel-5150.nix: add Intel 5150 wireless firmware support
...
Author: Sergey Mironov <ierton@gmail.com>
svn path=/nixos/trunk/; revision=31231
2012-01-03 14:12:41 +00:00
Peter Simons
8eca4db54a
/etc/profile: do not add ~/bin to $PATH in system-wide init file
...
Users who want a user-specific bin directory to override system paths should
configure that in their user-specific ~/.bashrc, not in the system-wide init
file. The global file shouldn't add directories from user homes to $PATH
without knowing whether those actually exist or whether the users even want
them in $PATH. On my system, for example, there is no ~/bin, so I don't want my
$PATH to look for one. Removing an erroneous entry from $PATH is cumbersome,
but adding one is easy, so it feels better to err on the side of caution.
svn path=/nixos/trunk/; revision=31188
2011-12-31 12:56:45 +00:00
Florian Friesdorf
ea121d0ff9
Revert "EMACSLOADPATH in /etc/profile"
...
svn path=/nixos/trunk/; revision=31187
2011-12-31 06:24:12 +00:00
Florian Friesdorf
a38ca160ec
EMACSLOADPATH in /etc/profile
...
svn path=/nixos/trunk/; revision=31175
2011-12-31 04:14:36 +00:00
Florian Friesdorf
b0fefb876f
unset MOZ_PLUGIN_PATH and TERMINFO_DIRS before setting them
...
svn path=/nixos/trunk/; revision=31174
2011-12-31 04:14:31 +00:00
Florian Friesdorf
221c637356
fix MOZ_PLUGIN_PATH
...
svn path=/nixos/trunk/; revision=31168
2011-12-31 02:57:45 +00:00
Florian Friesdorf
97ce0b1386
MOZ_PLUGIN_PATH based on NIX_PROFILES
...
svn path=/nixos/trunk/; revision=31167
2011-12-31 02:05:51 +00:00
Florian Friesdorf
76986a24f9
enable noX11 on kernel cmdline to suppress start of X
...
xserver is started on start_xserver event, which is emitted by
check_for_xserver_start if there is no "noX11" on the kernel cmdline.
Thanks to viric for the general idea.
svn path=/nixos/trunk/; revision=31166
2011-12-31 00:24:48 +00:00
Florian Friesdorf
5b7e7bb429
services.xserver.xkbVariant
...
svn path=/nixos/trunk/; revision=31165
2011-12-30 23:26:11 +00:00
Florian Friesdorf
da90f06ff8
4965agn was wrongly detected as a 3945abg
...
svn path=/nixos/trunk/; revision=31164
2011-12-30 23:26:06 +00:00
Peter Simons
e91c6ea1ce
modules/system/upstart-events/shutdown.nix: refer to bash binary with full path
...
Upstart won't find a "bash" binary in $PATH when those commands are run, so we
refer to it using an absolute path.
svn path=/nixos/trunk/; revision=31157
2011-12-30 16:57:39 +00:00
Florian Friesdorf
b2eb54ae5a
set TERMINFO_DIRS according to NIX_PROFILES
...
this finally makes rxvt-unicode work without manually linking it's terminfo
svn path=/nixos/trunk/; revision=31145
2011-12-29 19:38:03 +00:00
Florian Friesdorf
05a49f663e
include /share/terminfo into default pathsToLink
...
svn path=/nixos/trunk/; revision=31144
2011-12-29 19:38:00 +00:00
Florian Friesdorf
8ed89125b5
linewrap pathsToLink
...
svn path=/nixos/trunk/; revision=31143
2011-12-29 19:37:54 +00:00
Nicolas Pierron
338bc7b9f8
Fix nixos-option without argument.
...
svn path=/nixos/trunk/; revision=31139
2011-12-29 06:33:34 +00:00
Florian Friesdorf
eb755d4692
switched all mergeOptionString to pkgs.lib.types.string
...
pierron recommended the use of types.string over mergeOptionString, as
it is superior but might break things.
For my system the change evaluated to the exactly same.
svn path=/nixos/trunk/; revision=31138
2011-12-29 00:51:35 +00:00
Florian Friesdorf
3ebc7727f7
Revert "test we have cryptsetup-1.4.1 in initrd"
...
This reverts commit 025f8c40b40fad50086e8761eee61098d8fb2651.
The check was intened for building the initrd of the installer.
svn path=/nixos/trunk/; revision=31137
2011-12-28 22:37:38 +00:00
Florian Friesdorf
0544a008db
Revert "added an "error" to luksroot that should be caught"
...
This reverts commit c7967af35a13f68a8785c142582b639dc8c8e92c.
svn path=/nixos/trunk/; revision=31136
2011-12-28 22:36:26 +00:00
Florian Friesdorf
829bd9a727
added an "error" to luksroot that should be caught
...
svn path=/nixos/trunk/; revision=31135
2011-12-28 22:21:31 +00:00
Florian Friesdorf
c7fd05a650
test we have cryptsetup-1.4.1 in initrd
...
svn path=/nixos/trunk/; revision=31132
2011-12-28 21:46:50 +00:00
Florian Friesdorf
c15aa7aea3
luksroot uses preLVMCommands instead of postDeviceCommands
...
svn path=/nixos/trunk/; revision=31131
2011-12-28 21:46:48 +00:00
Florian Friesdorf
90756a787c
add preLVMCommands hook
...
svn path=/nixos/trunk/; revision=31130
2011-12-28 21:46:45 +00:00
Florian Friesdorf
0a9f3a36ec
luksroot waits for usb drive
...
svn path=/nixos/trunk/; revision=31129
2011-12-28 21:46:42 +00:00
Florian Friesdorf
dd8e725d7d
copy only cryptsetup deps to stage-1 and test cryptsetup
...
popt-0.16 and cryptsetup-1.4.1 both generated pkgconfig (in contrast
to older versions). The pkgconfig files (popt.pc and cryptsetup.pc)
contain references into the store that are not removed by patchelf and
stage-1 fails with errors like: "output is not allowed to refer to
path `/nix/store/qccjhn063cfv171rcaxvxh0yk96zf7l2-cryptsetup-1.4.1'".
Now, only the cryptsetup binaries and its dependencies are copied,
determined by ldd. In addition the cryptsetup binary and lvm are
tested after patchelf has adjusted the library paths.
Thanks to Peter Simons and Eelco Dolstra for giving the rights hints.
svn path=/nixos/trunk/; revision=31128
2011-12-28 21:46:40 +00:00
Florian Friesdorf
d98ecd1d9e
enable testing of extraUtilsCommands after patchelf
...
svn path=/nixos/trunk/; revision=31127
2011-12-28 21:46:35 +00:00
Lluís Batlle i Rossell
5cf6543e6e
Removing unused lines of the nfs-kernel script, and fixing some indentation.
...
svn path=/nixos/trunk/; revision=31120
2011-12-28 09:05:52 +00:00
Lluís Batlle i Rossell
99cca93398
Fixing the race condition on loading nfsd. It was not a modprobe thing like I
...
said on 31113, but again, upstart order.
I restore the usual modprobe procedure.
svn path=/nixos/trunk/; revision=31119
2011-12-28 08:44:24 +00:00
Lluís Batlle i Rossell
ef1755f3c0
I had a bug in my nfs server... just after boot, all clients were receiving
...
"Permission denied" until I run "restart nfs-kernel-exports". "exportfs -ra" did not help.
I tracked that down to some race condition between loading the module nfsd and
starting the daemons. Therefore, I decided to add nfsd to the boot.kernelModules instead
of using modprove with it.
Now it works for my server. No more Permission denied after reboot.
svn path=/nixos/trunk/; revision=31113
2011-12-27 18:08:05 +00:00
Lluís Batlle i Rossell
8bc381c4cd
Fixing the boot sequence in case of only having nfsKernel.client.enable = true, and not server.
...
svn path=/nixos/trunk/; revision=31109
2011-12-27 16:33:10 +00:00
Lluís Batlle i Rossell
0de75cde39
Asking for an interactive shell in case of error umounting filesystems. I've
...
not tested it; sometimes I hit the trouble, but not always.
svn path=/nixos/trunk/; revision=31104
2011-12-26 16:40:13 +00:00
Lluís Batlle i Rossell
2c77b292a6
I reworked the nfs upstart jobs, so they work better on the events of interest of nixos.
...
Related to http://yellowgrass.org/issue/NixOS/109 .
svn path=/nixos/trunk/; revision=31103
2011-12-26 16:06:20 +00:00
Eelco Dolstra
cf36b3db80
* If power management is enabled, set the governor to ‘ondemand’ by
...
default. See
http://www.codon.org.uk/~mjg59/power/good_practices.html
for the reasoning. (Basically, the ‘performance’ and ‘powersave’
governors don't actually provide extra performance or power savings
in most cases.)
It used to be that desktop environments like KDE were able to set
the governor through HAL (e.g. KDE could be configured to switch to
the powersave governor when the user unplugs his laptop). However,
this is no longer the case with upower — it is now expected that
everybody uses the ondemand governor. See
http://old.nabble.com/-PATCH--powerdevil-remove-cpufreq.patch-td27815354.html
* Rename ‘cpuFreqGovernor’ to ‘powerManagement.cpuFreqGovernor’.
* Include cpufreq-utils in the system path if a governor is set, since
we depend on it anyway.
svn path=/nixos/trunk/; revision=30991
2011-12-20 22:44:58 +00:00
Eelco Dolstra
2ff7b1284a
* Handle the util-linux-ng -> util-linux rename
...
(http://hydra.nixos.org/build/1646277/nixlog/1 ).
svn path=/nixos/trunk/; revision=30984
2011-12-20 13:36:11 +00:00
Michael Raskin
d06c45ec86
Let hostname --fqdn find proper hostname
...
svn path=/nixos/trunk/; revision=30976
2011-12-20 12:35:12 +00:00
Yury G. Kudryashov
a87a1bca04
wpa_supplicant: add D-Bus interface
...
svn path=/nixos/trunk/; revision=30972
2011-12-19 23:16:32 +00:00
Peter Simons
ae82e7b048
Added cpuFreqGovernor option to configure a CPU frequency governor.
...
svn path=/nixos/trunk/; revision=30949
2011-12-16 23:44:37 +00:00
Eelco Dolstra
52e6088c88
* utillinuxng -> utillinux.
...
svn path=/nixos/trunk/; revision=30858
2011-12-12 19:02:37 +00:00
Eelco Dolstra
6e95485a28
* Set boot.vesa to false if we don't have a fbcondecor-enabled kernel.
...
svn path=/nixos/trunk/; revision=30802
2011-12-08 12:25:33 +00:00
Shea Levy
e87764e327
Apply mornfall's SANE patches
...
Fix sane-backends to generate udev rules, add a snapshot of sane-backends's unstable repo, and add a SANE nixos module
svn path=/nixos/trunk/; revision=30764
2011-12-05 17:32:45 +00:00
Shea Levy
72d7401976
udev: Ignore commented lines when populating run_progs.
...
Patch by mornfall
svn path=/nixos/trunk/; revision=30763
2011-12-05 16:53:58 +00:00
Shea Levy
868c60c92b
Add mpd module
...
There is room for improvement here. The options in conffile could be broken out into individual options and an extraConfig option added. But I think this looks right.
Patch by mornfall, slightly modified by me
svn path=/nixos/trunk/; revision=30731
2011-12-05 01:51:05 +00:00
Eelco Dolstra
508fea8dac
* Remove the cfq_iosched module.
...
svn path=/nixos/trunk/; revision=30618
2011-11-29 14:19:55 +00:00
Nicolas Pierron
e264d1ab79
Convert users.extraUsers to an option set and add support for openssh
...
authorized_keys file generation.
svn path=/nixos/trunk/; revision=30611
2011-11-29 06:08:55 +00:00
Peter Simons
e4ba69aecf
wvdial: don't make wvdial a system package; only root can run it
...
svn path=/nixos/trunk/; revision=30570
2011-11-25 17:41:47 +00:00
Peter Simons
0cd9ff9fcc
smartd: run smartd daemon using the given search path to improve readability of ps output
...
svn path=/nixos/trunk/; revision=30569
2011-11-25 17:09:44 +00:00
Peter Simons
ef932017fc
smartd: run the mail notification script with ${pkgs.stdenv.shell} rather than /bin/sh
...
svn path=/nixos/trunk/; revision=30568
2011-11-25 17:09:37 +00:00
Eelco Dolstra
8eba736da9
* Use the ‘path’ attribute in Upstart jobs in more places. It's a bit
...
more readable (also in "ps" output).
svn path=/nixos/trunk/; revision=30565
2011-11-25 16:32:54 +00:00
Eelco Dolstra
1d5d7036d0
* Add a module for managing cgroups.
...
svn path=/nixos/trunk/; revision=30551
2011-11-24 18:28:45 +00:00
Peter Simons
9de905ee61
modules/programs/wvdial.nix: added support for configuring wvdial
...
For example, I use the following settings to configure T-Mobile Internet
access on my laptop, which is connected to the cell phone by USB:
| environment.wvdial.dialerDefaults = ''
| Init1 = AT+CGDCONT=1,"IP","internet.t-mobile"
| Modem Type = USB Modem
| Phone = *99#
| ISDN = 0
| Username = tm
| Password = tm
| Modem = /dev/ttyACM0
| Baud = 460800
| '';
svn path=/nixos/trunk/; revision=30489
2011-11-20 10:38:26 +00:00
Eelco Dolstra
d89f4b6c76
* Revert r30370, it's no longer needed.
...
svn path=/nixos/trunk/; revision=30389
2011-11-11 15:02:30 +00:00
Eelco Dolstra
48adcd5510
* Remove xdpyinfo from the $PATH.
...
svn path=/nixos/trunk/; revision=30388
2011-11-11 03:11:32 +00:00
Eelco Dolstra
da542dc1ae
* Added a module for oidentd.
...
svn path=/nixos/trunk/; revision=30381
2011-11-10 23:06:24 +00:00
Eelco Dolstra
21d808ee6c
* Add a module that enables a x11vnc-based terminal server, allowing
...
users to login via VNC. Xvfb servers are started as required to
allow multiple concurrent users.
svn path=/nixos/trunk/; revision=30374
2011-11-10 20:52:23 +00:00
Evgeny Egorochkin
c1d7c0d6bd
Remove swap cipher option because it isn't implemented and is misleading new users
...
svn path=/nixos/trunk/; revision=30371
2011-11-10 16:39:04 +00:00
Evgeny Egorochkin
698a02ee43
PulseAudio: fix config file paths
...
svn path=/nixos/trunk/; revision=30370
2011-11-10 16:37:31 +00:00
Lluís Batlle i Rossell
d9356e9a35
Fixing documentation about the prayer module, and adding a port setting,
...
defaulting to something other than 80 at least.
svn path=/nixos/trunk/; revision=30363
2011-11-09 21:08:50 +00:00
Lluís Batlle i Rossell
de5eedb612
Adding the hostname.domain and localhost.domain to hosts, if possible.
...
Postfix likes this.
svn path=/nixos/trunk/; revision=30362
2011-11-09 21:02:01 +00:00
Lluís Batlle i Rossell
578f83eef4
Adding a module for the prayer webmail.
...
svn path=/nixos/trunk/; revision=30361
2011-11-09 20:48:12 +00:00
Eelco Dolstra
0302e2cc57
* Update AMIs.
...
svn path=/nixos/trunk/; revision=30348
2011-11-08 21:28:42 +00:00
Eelco Dolstra
6b6cee46c7
* By popular demand, provide an ISO with a more recent kernel.
...
svn path=/nixos/trunk/; revision=30344
2011-11-08 19:51:39 +00:00
Eelco Dolstra
fdc51c2c97
* Disable all fbcondecor-related stuff if boot.vesa is disabled.
...
svn path=/nixos/trunk/; revision=30343
2011-11-08 19:43:15 +00:00
Eelco Dolstra
0446f652a2
* Include glxinfo/glxgears in the graphical profile. It's very small.
...
svn path=/nixos/trunk/; revision=30342
2011-11-08 19:18:34 +00:00
Eelco Dolstra
06843a45ef
* Fix auto-login.
...
svn path=/nixos/trunk/; revision=30341
2011-11-08 19:02:51 +00:00
Eelco Dolstra
7d68a36851
* Remove rescue.nix (obsolete).
...
svn path=/nixos/trunk/; revision=30340
2011-11-08 19:02:28 +00:00
Eelco Dolstra
e348fbf7a4
* Allow logging in with an empty password in KDE. This is consistent
...
with SLiM and local console logins.
svn path=/nixos/trunk/; revision=30339
2011-11-08 18:50:42 +00:00
Eelco Dolstra
dd28c62879
* My grep skills are lacking.
...
svn path=/nixos/trunk/; revision=30335
2011-11-08 16:39:13 +00:00
Eelco Dolstra
51a5b775a6
* HAL is obsolete and disabling D-Bus is a bad idea.
...
svn path=/nixos/trunk/; revision=30334
2011-11-08 16:32:24 +00:00
Eelco Dolstra
b69dd8759c
* minimal.nix: don't include base.nix. Also note it's not currently used.
...
svn path=/nixos/trunk/; revision=30333
2011-11-08 16:29:40 +00:00
Eelco Dolstra
f281207ea2
* Disable the RTL 8192c firmware because it doesn't build.
...
svn path=/nixos/trunk/; revision=30332
2011-11-08 16:21:57 +00:00
Eelco Dolstra
295dafed8a
* Refactoring: graphical.nix no longer includes base.nix so that it
...
just does what it says (enable a "graphical" configuration).
* Enable KDM in the graphical CD. The "auto" display manager doesn't
properly handle shutdowns etc.
svn path=/nixos/trunk/; revision=30331
2011-11-08 16:17:37 +00:00
Eelco Dolstra
1cfbae6ed4
* Remove empty.nix since it's no longer used.
...
svn path=/nixos/trunk/; revision=30328
2011-11-08 15:59:46 +00:00
Eelco Dolstra
ba7f635f8b
* Move the hardware bits of base.nix into a separate module,
...
all-hardware.nix. This allows base.nix (which should probably be
renamed to something more descriptive) to be reused without getting
the hardware configuration of the installation CD.
svn path=/nixos/trunk/; revision=30327
2011-11-08 15:58:59 +00:00
Shea Levy
7f7eb341c8
Update the comment in the nixos-option generated configuration.nix in light of r30325
...
svn path=/nixos/trunk/; revision=30326
2011-11-08 15:51:39 +00:00
Eelco Dolstra
a76fe106e7
* nixos-hardware-scan: don't emit an include of an "install profile".
...
That's confusing and wrong: nixos-hardware-scan should just enable
support for the detected hardware, not enable lots of software (let
alone KDE).
svn path=/nixos/trunk/; revision=30325
2011-11-08 15:39:13 +00:00
Eelco Dolstra
3e30d87c26
* aufs2 -> aufs.
...
svn path=/nixos/trunk/; revision=30323
2011-11-08 15:12:11 +00:00
Eelco Dolstra
848485a043
* Remove installation-cd-rescue as it's not used, and the other CDs
...
should also contain all appropriate rescue tools.
svn path=/nixos/trunk/; revision=30320
2011-11-08 14:29:35 +00:00
Eelco Dolstra
5e5328cb2e
* Get the SSH host key from the user data if available. This allows
...
the user to create an instance with a known host key, and thus
permit a secure connection.
svn path=/nixos/trunk/; revision=30242
2011-11-05 01:44:56 +00:00
Eelco Dolstra
3d5f3aa2b4
* Print the host key after sshd has started to prevent a potential race.
...
svn path=/nixos/trunk/; revision=30236
2011-11-04 20:33:24 +00:00
Eelco Dolstra
8a0a0efb48
* Force getting the hostname from EC2.
...
svn path=/nixos/trunk/; revision=30235
2011-11-04 20:06:59 +00:00
Eelco Dolstra
4abfacb468
* In the initrd, automatically mount all available ephemeral disks.
...
This depends on the EC2 instance type, so we have to probe for them.
svn path=/nixos/trunk/; revision=30234
2011-11-04 18:49:59 +00:00
Eelco Dolstra
6f8e30313f
* The "audio" group should always exist, even if the ALSA module is
...
disabled, because udev rules refer to it.
svn path=/nixos/trunk/; revision=30229
2011-11-04 17:40:00 +00:00
Eelco Dolstra
c5955e5474
* In EC2 instances, a kernel panic should cause a reboot, and a
...
problem in stage 1 should cause a panic. (Actually, the latter
should probably kill the instance since we can't repair it
anyway...)
svn path=/nixos/trunk/; revision=30215
2011-11-03 20:11:11 +00:00
Lluís Batlle i Rossell
2825a3a6ae
Allowing 'named' to have a config file apart, as it can have passwords.
...
svn path=/nixos/trunk/; revision=30213
2011-11-03 19:13:52 +00:00
Eelco Dolstra
d77fc84d2f
* For consistency, use /etc/nix/nix.conf instead of /nix/etc/nix/nix.conf.
...
There is really no reason to have a configuration file outside of /etc,
and it's consistent with what the Fedora/Debian packages for Nix use.
svn path=/nixos/trunk/; revision=30212
2011-11-03 19:04:54 +00:00
Lluís Batlle i Rossell
efc64042e0
Adding extraConfig to unbound
...
svn path=/nixos/trunk/; revision=30211
2011-11-03 18:49:54 +00:00
Eelco Dolstra
a4d2682238
* Remove loopback devices during shutdown, since they may prevent
...
filesystems from being unmounted.
svn path=/nixos/trunk/; revision=30203
2011-11-03 02:15:33 +00:00
Eelco Dolstra
aac71e8f95
* Add a module for DRBD.
...
svn path=/nixos/trunk/; revision=30202
2011-11-03 02:14:57 +00:00
Eelco Dolstra
0309f02fc5
* Add period.
...
svn path=/nixos/trunk/; revision=30201
2011-11-03 02:14:40 +00:00
Eelco Dolstra
ba1a7188c1
* Don't get the hostname from EC2 if one has been set explicitly.
...
svn path=/nixos/trunk/; revision=30200
2011-11-03 01:29:40 +00:00
Eelco Dolstra
fe566d84ae
* Remove references to the "safemode" boot option, which doesn't do
...
anything.
svn path=/nixos/trunk/; revision=30199
2011-11-03 00:46:29 +00:00
Lluís Batlle i Rossell
9489c5a02b
Setting default of unbound.enable to disabled. Few may want it enabled.
...
svn path=/nixos/trunk/; revision=30198
2011-11-02 21:04:32 +00:00
Lluís Batlle i Rossell
5cb67ef832
Adding a module for unbound.
...
svn path=/nixos/trunk/; revision=30197
2011-11-02 20:59:12 +00:00
Eelco Dolstra
e0573105b7
* Disable stuff like ALSA and the splash screen in headless setups
...
(like EC2 instances).
svn path=/nixos/trunk/; revision=30192
2011-11-02 16:10:30 +00:00
Eelco Dolstra
3fd482677e
* modprobe wants /etc/modprobe.d now.
...
svn path=/nixos/trunk/; revision=30164
2011-11-01 15:39:30 +00:00
Eelco Dolstra
71e6f6ecdc
* Start httpd after postgresql since the mediawiki subservice depends
...
on it.
svn path=/nixos/trunk/; revision=30161
2011-11-01 13:44:48 +00:00
Eelco Dolstra
07694cab46
* Doh. Never rename a variable *after* testing.
...
svn path=/nixos/trunk/; revision=30160
2011-11-01 02:53:37 +00:00
Eelco Dolstra
b024940384
* Enable upower on the graphical ISO.
...
svn path=/nixos/trunk/; revision=30156
2011-10-31 21:08:22 +00:00
Eelco Dolstra
cf03194d59
* Disable Nepomuk/Strigi by default because they cause problems
...
(e.g. segfaults whn loggin in to the NixOS graphical ISO) and don't
really work very well (e.g. fail to find files). They can be
re-enabled in the KDE System Settings.
svn path=/nixos/trunk/; revision=30155
2011-10-31 21:04:39 +00:00
Evgeny Egorochkin
0d2ef63b84
Quassel: fix package name
...
svn path=/nixos/trunk/; revision=30142
2011-10-31 12:48:59 +00:00
Nicolas Pierron
262e883554
Add more options for LDAP module. (timeLimit, bind.timeLimit, bind.policy)
...
Patch by Rickard Nilsson.
svn path=/nixos/trunk/; revision=30138
2011-10-30 18:46:31 +00:00
Peter Simons
20b364f4de
Reverting revisions 30103-30106: "always set nixpkgs.config.{state,store}Dir", etc.
...
After the change from revision 30103, nixos-rebuild suddenly consumed
freaky amounts of memory. I had to abort the process after it had
allocated well in excess of 30GB(!) of RAM. I'm not sure what is causing
this behavior, but undoing that assignment fixes the problem. The other
two commits needed to be revoked, too, because they depend on 30103.
svn path=/nixos/trunk/; revision=30127
2011-10-30 15:19:58 +00:00
Shea Levy
fe045dc949
sed -i -e 's|/nix/var|@stateDir@|g' -e 's|/nix/store|@storeDir@|g' modules/installer/tools/*.sh
...
Use configurable storeDir and stateDir in the installer tools
svn path=/nixos/trunk/; revision=30106
2011-10-29 22:14:27 +00:00
Shea Levy
a16d43a8ac
Make the stateDir and storeDir available for substitution into the tools
...
svn path=/nixos/trunk/; revision=30105
2011-10-29 22:00:25 +00:00
Shea Levy
09cf6ce70c
find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g'
...
Don't assume /nix/store or /nix/var in NixOS modules, this is configurable
svn path=/nixos/trunk/; revision=30104
2011-10-29 21:03:57 +00:00
Shea Levy
9d496c77ac
nixpkgs: Always set nixpkgs.config.{state,store}Dir
...
This will allow NixOS modules to always refer to config.nixpkgs.config.nix to find the store or state
directory
svn path=/nixos/trunk/; revision=30103
2011-10-29 18:20:02 +00:00
Lluís Batlle i Rossell
035ccb8faf
Making dovecot2 authentication work (wrong pam module)
...
svn path=/nixos/trunk/; revision=30076
2011-10-27 22:04:08 +00:00
Lluís Batlle i Rossell
69a31a37e4
Adding a module for dovecot2. I've not tried it much.
...
svn path=/nixos/trunk/; revision=30072
2011-10-27 19:43:20 +00:00
Eelco Dolstra
ce822289c3
* Create /etc/localtime as a symlink to the right zoneinfo file.
...
However, this won't do anything until we merge the stdenv branch.
svn path=/nixos/trunk/; revision=30071
2011-10-27 19:36:03 +00:00
Lluís Batlle i Rossell
1fe1481adf
Fixing systemhealth for kernels 3.x
...
svn path=/nixos/trunk/; revision=30068
2011-10-27 18:06:54 +00:00
Eelco Dolstra
3397bc6e09
* Recent kernels need some more modules in the initrd to be able to do
...
CIFS mounts.
svn path=/nixos/trunk/; revision=30067
2011-10-27 17:46:25 +00:00
Eelco Dolstra
926091c265
* Make the permissions on /run less liberal.
...
svn path=/nixos/trunk/; revision=30065
2011-10-27 17:34:16 +00:00
Lluís Batlle i Rossell
c7f568dc06
Fixing the xserver.enableTCP for kdm.
...
svn path=/nixos/trunk/; revision=30056
2011-10-27 15:43:13 +00:00
Eelco Dolstra
564f7358f1
* Fix EC2 terminology: zone -> region. (Availability zones are
...
something else.)
svn path=/nixos/trunk/; revision=30050
2011-10-26 23:44:13 +00:00
Eelco Dolstra
6e809242e9
* Ensure that the "kde" PAM module exists whn KDE is enabled.
...
Previously, this was only enabled in the KDM module, so if you were
using a different display manager than KDM, stuff like getting out
of the screensaver didn't work correctly.
svn path=/nixos/trunk/; revision=30049
2011-10-26 21:47:03 +00:00
Eelco Dolstra
021409b21f
* Declaring fileSystems as "loa" (list or attribute set) is bad because it can
...
cause the filesystems to be reordered. During stage 1, the ordering of
filesystems is sensitive. (In stage 2, mountall ensures that filesystems
are mounted in the right order.)
svn path=/nixos/trunk/; revision=30046
2011-10-26 19:37:47 +00:00
Eelco Dolstra
0fce64bb37
* Specify more option types.
...
svn path=/nixos/trunk/; revision=30045
2011-10-26 18:08:58 +00:00
Eelco Dolstra
8137be6f27
* Updated eu-west-1 64-bit image.
...
svn path=/nixos/trunk/; revision=30017
2011-10-25 17:14:22 +00:00
Eelco Dolstra
a9cfde0df1
* securityGroup -> securityGroups.
...
svn path=/nixos/trunk/; revision=30014
2011-10-25 15:27:29 +00:00
Eelco Dolstra
e4a6ea0632
* Add some options that are useful in Charon network specifications.
...
svn path=/nixos/trunk/; revision=30006
2011-10-25 04:01:34 +00:00
Eelco Dolstra
a82bfec343
* Add an option ‘deployment.ec2.zone’. For EC2 deployments, this
...
automatically sets ‘deployment.ec2.controller’ and
‘deployment.ec2.ami’ to sensible values.
svn path=/nixos/trunk/; revision=30005
2011-10-25 01:59:39 +00:00
Eelco Dolstra
49adbed510
* Add a module that provides all the Radeon firmwares.
...
svn path=/nixos/trunk/; revision=30004
2011-10-25 00:27:07 +00:00
Eelco Dolstra
0a1fee9ec8
* Add a module for the Broadcom firmware. Also, add it to the
...
installation CD (though the kernel on the CD is not recent
enough yet to actually support the device). (This is kind of
an abuse of "not-detected.nix".)
svn path=/nixos/trunk/; revision=30003
2011-10-24 23:41:33 +00:00
Eelco Dolstra
504f4943a0
* Add a securityGroup attribute for EC2 deployment.
...
svn path=/nixos/trunk/; revision=30001
2011-10-24 19:27:58 +00:00
Eelco Dolstra
5a03989036
* Fix Amazon image generation (there is no $ORIG_TMPDIR in
...
runInLinuxVM anymore; use /tmp/xchg instead).
svn path=/nixos/trunk/; revision=29970
2011-10-21 23:39:05 +00:00
Eelco Dolstra
9076456b15
* Don't restart udevtrigger from the switch script. It's triggered by
...
udev.
svn path=/nixos/trunk/; revision=29962
2011-10-21 16:22:38 +00:00
Lluís Batlle i Rossell
b5baad31d2
The virtual consoles were launching a bash not aware of locales.
...
svn path=/nixos/trunk/; revision=29882
2011-10-18 21:44:35 +00:00
Lluís Batlle i Rossell
62dede7121
The system health url moved.
...
svn path=/nixos/trunk/; revision=29881
2011-10-18 21:44:06 +00:00
Nicolas Pierron
38bc39c299
Add support for NFS root file system.
...
Patch by Rickard Nilsson.
svn path=/nixos/trunk/; revision=29855
2011-10-15 21:01:30 +00:00
Joachim Schiele
298186fd06
added cntlm as a system service with its own user 'cntlm'
...
svn path=/nixos/trunk/; revision=29737
2011-10-09 22:34:32 +00:00
Eelco Dolstra
00ce9aaf1a
* svn.nixos.org -> nixos.org.
...
svn path=/nixos/trunk/; revision=29690
2011-10-06 11:29:44 +00:00
Eelco Dolstra
0f816374c7
* Use shm and posixsem for the SSL session cache.
...
svn path=/nixos/trunk/; revision=29658
2011-10-05 12:24:53 +00:00
Peter Simons
18d52f8f4b
modules/installer/scan/not-detected.nix: don't depend on pkgs.rt73fw
...
The rt73 firmware has disappeared from the upstream server, and we don't
have a new URL yet.
svn path=/nixos/trunk/; revision=29620
2011-10-04 08:45:15 +00:00
Nicolas Pierron
47a1941696
LDAP non-anonymous bind.
...
Patch by Rickard Nilsson.
svn path=/nixos/trunk/; revision=29563
2011-10-02 13:24:10 +00:00
Shea Levy
3a201ef6a7
Enable building ISOs for aufs3 kernels
...
svn path=/nixos/trunk/; revision=29538
2011-09-28 22:43:53 +00:00
Peter Simons
32d6a441a5
modules/tasks/network-interfaces.nix: create network bridges with "forward delay" set to zero
...
This change obsoletes the need to increase the IPv6 "router_solicitations" parameter.
svn path=/nixos/trunk/; revision=29493
2011-09-26 09:41:40 +00:00
Peter Simons
84a37365c2
modules/services/printing/cupsd.nix: ensure that /etc/cups exists before the daemon is run
...
CUPS is really unhappy when /etc/cups doesn't exist, and without that
directory it's going to mess up file permissions of /nix/store, the web
front-end won't work, and probably all kinds of other stuff is broken
that I didn't notice yet. :-(
svn path=/nixos/trunk/; revision=29452
2011-09-23 14:41:22 +00:00
Peter Simons
432d71f3ed
modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc
...
* Moved bash-specific code from /etc/profile to /etc/bashrc.
* Moved general Bourne shell code from /etc/bashrc to /etc/profile.
* Added "include guards" to both files to ensure that they aren't sourced
multiple times (which would result in lots of redundancy in $PATH, etc.).
* Both files include each other to make sure that the correct system
environment is always defined.
* When the current user has installed the 'bash-completion' package in her
$HOME/.nix-profile, programmable completion is automatically enabled in
interactive shells.
* The /etc/skel/.bashrc we installed has been dropped because it is redundant.
svn path=/nixos/trunk/; revision=29451
2011-09-23 14:21:36 +00:00
Eelco Dolstra
3fa2bbd029
* Properly shut down udevd in stage 1. Otherwise there is a slight
...
possibility that a udevd process survives, preventing udevd from
starting in stage 2:
machine# udevd[1421]: bind failed: Address already in use
machine# udevd[1421]: error binding udev control socket
svn path=/nixos/trunk/; revision=29434
2011-09-22 08:26:58 +00:00
Marco Maggesi
229b99321f
Make blcr module use the configured kernel
...
svn path=/nixos/trunk/; revision=29413
2011-09-21 13:13:36 +00:00
David Guibert
7d982fd1bd
cups: fix smb backend
...
svn path=/nixos/trunk/; revision=29393
2011-09-20 07:14:27 +00:00
David Guibert
df1c3dda68
autofs: add sshfs to PATH
...
svn path=/nixos/trunk/; revision=29392
2011-09-20 07:14:24 +00:00
Marco Maggesi
91a6dc6168
Make VirtualBox Guest Additions use the configured kernel.
...
svn path=/nixos/trunk/; revision=29346
2011-09-19 13:20:09 +00:00
Alexander Tsamutali
8e13361521
modules/profiles/base.nix: Added gptfdisk.
...
svn path=/nixos/trunk/; revision=29320
2011-09-17 13:09:38 +00:00
Eelco Dolstra
4fff0d2291
* Log sitecopy runs.
...
svn path=/nixos/trunk/; revision=29299
2011-09-15 15:33:34 +00:00
Eelco Dolstra
61072f8995
* Add a module for a Flash policy server.
...
svn path=/nixos/trunk/; revision=29296
2011-09-15 15:13:46 +00:00
Peter Simons
8abea71eaa
modules/services/monitoring/smartd.nix: run the daemon with --no-fork to make life easier for upstart
...
svn path=/nixos/trunk/; revision=29287
2011-09-14 18:30:10 +00:00
Peter Simons
d1cf78c756
modules/services/monitoring/smartd.nix: provide the implicitly set flag '-a' explicitly
...
svn path=/nixos/trunk/; revision=29286
2011-09-14 18:30:07 +00:00
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Peter Simons
f5e8d35f8e
modules/services/printing/cupsd.nix: /etc/cups/mime.{convs,types} are obsolete
...
Current versions of CUPS (1.4.7 or later, apparently) load these files
from ${cups}/share/mime, so we no longer need the symlinks in /etc.
svn path=/nixos/trunk/; revision=29284
2011-09-14 18:20:13 +00:00
Russell O'Connor
1744733be8
Revering CUPS update.
...
svn path=/nixos/trunk/; revision=29283
2011-09-14 17:58:57 +00:00
Peter Simons
02bb4eb289
modules/services/printing/cupsd.nix: MIME related config files have moved to share in cups 1.5
...
svn path=/nixos/trunk/; revision=29254
2011-09-13 20:42:21 +00:00
Peter Simons
a499049ce5
Strip trailing whitespace.
...
svn path=/nixos/trunk/; revision=29246
2011-09-13 18:49:50 +00:00
Peter Simons
d3528a3c4e
modules/system/boot/stage-1-init.sh: added "boot.runSize" option to determine the maximum size of the /run tmpfs
...
svn path=/nixos/trunk/; revision=29245
2011-09-13 18:49:47 +00:00
Peter Simons
c01c41e2da
modules/system/boot/kernel.nix: disable "elevator=cfq" boot parameter for the time being
...
This setting causes the init ram disk to hang indefinitely on some systems.
svn path=/nixos/trunk/; revision=29228
2011-09-12 18:01:18 +00:00
Eelco Dolstra
64340dc03c
* Set OPENSSL_X509_CERT_FILE.
...
svn path=/nixos/trunk/; revision=29225
2011-09-12 17:01:43 +00:00
Eelco Dolstra
7dc59f0bb0
* Zabbix: only enable PostgreSQL if it's on the same machine.
...
svn path=/nixos/trunk/; revision=29185
2011-09-11 15:55:43 +00:00
Yury G. Kudryashov
7a858f2a89
Adjust DM/kde4.nix to latest changes in kde-4.7
...
svn path=/nixos/trunk/; revision=29181
2011-09-11 12:44:54 +00:00
Yury G. Kudryashov
c56a8456ed
Allow full ~/.nixpkgs/config.nix syntax in nixpkgs.config
...
Namely, allow {pkgs}: { packageOverrides = p: ...; };
svn path=/nixos/trunk/; revision=29180
2011-09-11 12:41:47 +00:00
Yury G. Kudryashov
9a096c9ee7
Partially revert r2903
...
The nepomuk&virtuoso problem is solved without polutting $QT_PLUGIN_PATH and/or
$LD_LIBRARY_PATH by patching soprano.
svn path=/nixos/trunk/; revision=29107
2011-09-07 23:11:04 +00:00
Yury G. Kudryashov
bcee582a74
Preserve <standard_session_service_dirs/> in dbus.conf
...
This way *session* dbus daemon loads services from XDG_DATA_DIRS
svn path=/nixos/trunk/; revision=29106
2011-09-07 23:07:05 +00:00
Peter Simons
6c08bf40a6
modules/system/boot/kernel.nix: stripped trailing whitespace
...
svn path=/nixos/trunk/; revision=29101
2011-09-07 20:36:13 +00:00
Eelco Dolstra
ed1bc1e180
* Handle the case where a symlink in /etc needs to change into a
...
directory. This happened with /etc/polkit-1, which used to be a
symlink to /etc/static/polkit-1, which was itself a symlink but now
is a directory. Not handling this correctly led to /etc/static
being clobbered with symlinks pointing to themselves.
svn path=/nixos/trunk/; revision=29061
2011-09-06 12:32:07 +00:00
Eelco Dolstra
4a65eb6830
* Create /var/lib/upower, where upowerd keeps historical battery data.
...
svn path=/nixos/trunk/; revision=29057
2011-09-06 11:18:36 +00:00
Eelco Dolstra
5de82a6802
svn path=/nixos/trunk/; revision=29053
2011-09-05 23:33:29 +00:00
Eelco Dolstra
0de04bd4be
* Xfce 4.6 fix.
...
svn path=/nixos/trunk/; revision=29046
2011-09-05 20:50:15 +00:00
Eelco Dolstra
8d8c250b8f
* Enable gvfs in Xfce.
...
svn path=/nixos/trunk/; revision=29044
2011-09-05 20:37:06 +00:00
Eelco Dolstra
94014f4adc
* Get the Virtuoso backend in Soprano/Nepomuk to work. Soprano tries
...
to find virtodbc_r.so in QT_PLUGIN_PATH (among other locations), so
make sure that Virtuoso can be found there.
svn path=/nixos/trunk/; revision=29033
2011-09-05 17:55:53 +00:00
Eelco Dolstra
4b8275d2c4
* Force loading of the CFQ module, i.e. don't do it on demand — that
...
seems to cause weird modprobe hangs.
svn path=/nixos/trunk/; revision=29027
2011-09-05 14:58:26 +00:00
Eelco Dolstra
453675c5c1
* Allow literal examples to be included in the manual.
...
svn path=/nixos/trunk/; revision=29025
2011-09-05 10:14:42 +00:00
Eelco Dolstra
5813e99fb3
* Fix description.
...
svn path=/nixos/trunk/; revision=29022
2011-09-05 09:46:14 +00:00
Nicolas Pierron
6669cf61f4
Add merge capabilities to nixpkgs.config option.
...
svn path=/nixos/trunk/; revision=29021
2011-09-05 09:19:59 +00:00
Nicolas Pierron
def746fcdd
Add Intel firmwars (iwlwifi-6000g2{a,b}-ucode).
...
svn path=/nixos/trunk/; revision=29020
2011-09-05 09:19:55 +00:00
Eelco Dolstra
0cbdfb2bbf
* Use boot.initrd.availableKernelModules for the QEMU modules.
...
svn path=/nixos/trunk/; revision=28973
2011-09-02 13:20:05 +00:00
Eelco Dolstra
8b3fd3ed49
* Use the CFQ I/O scheduler, rather than the ‘none’ scheduler. This
...
was already the case on Linux 2.6.32, but in newer kernels the CFQ
scheduler is built as a module, so all block devices got the ‘none’
scheduler instead.
svn path=/nixos/trunk/; revision=28972
2011-09-02 13:19:45 +00:00
Lluís Batlle i Rossell
8138feb630
The VM did not want to mount the CIFS without these two modules available in stage1.
...
svn path=/nixos/trunk/; revision=28947
2011-08-31 21:20:48 +00:00
Eelco Dolstra
bd5ca54584
* Add fsck.vfat etc. to the default install. Useful for USB sticks
...
and stuff like that.
svn path=/nixos/trunk/; revision=28934
2011-08-30 18:25:54 +00:00
Yury G. Kudryashov
5ee15d4986
Fix hal evaluation
...
svn path=/nixos/trunk/; revision=28842
2011-08-26 17:30:53 +00:00
Yury G. Kudryashov
c174554ad7
polkit_kde_agent is now kde4.polkit_kde_agent
...
svn path=/nixos/trunk/; revision=28834
2011-08-26 13:50:03 +00:00
Yury G. Kudryashov
42a03ef0eb
Sync with dbus changes in nixpkgs
...
svn path=/nixos/trunk/; revision=28832
2011-08-26 13:46:59 +00:00
Yury G. Kudryashov
ea4630bf97
Allow RUN+="socket:..." in udev rules
...
svn path=/nixos/trunk/; revision=28808
2011-08-25 08:06:09 +00:00
Shea Levy
25594961ad
modprobe.nix: Blacklist snd_pcsp by default
...
svn path=/nixos/trunk/; revision=28805
2011-08-24 23:37:40 +00:00
Yury G. Kudryashov
e5917ea6fc
Merge with udev-173
...
The only conflict was the addition of two different options at the same place.
svn path=/nixos/trunk/; revision=28801
2011-08-24 21:24:39 +00:00
Eelco Dolstra
1aa1c86afc
* Enable upower and udisks for Xfce 4.8.
...
svn path=/nixos/trunk/; revision=28764
2011-08-22 23:10:24 +00:00
Eelco Dolstra
3b1c741f3f
* Xfce 4.8 doesn't need HAL anymore.
...
svn path=/nixos/trunk/; revision=28762
2011-08-22 22:52:13 +00:00
Eelco Dolstra
ecbfe0d9c0
* Cause KDE's Polkit authentication agent to be started at login.
...
You now get a nice popup window asking for the appropriate password
if you try to do something that requires administrative privilege
(e.g. "pkexec ls" in a terminal, unmounting devices that don't
belong to you in Dolphin, or killing other people's processes in
ksysguard).
svn path=/nixos/trunk/; revision=28735
2011-08-22 11:51:03 +00:00
Eelco Dolstra
d1ae2c2ac1
* Polkit: remove the wrapper since it's no longer needed (and didn't
...
really work as far as I can tell).
svn path=/nixos/trunk/; revision=28734
2011-08-22 11:46:32 +00:00
Eelco Dolstra
13a2563d02
* Create /var/lib/udisks because that's where udisks keeps its mtab
...
file. Without this, users are not able to unmount their own
devices (because udisks doesn't remember who mounted them).
svn path=/nixos/trunk/; revision=28730
2011-08-21 21:03:02 +00:00
Eelco Dolstra
7980c71d9c
* Add some options to allow setting PolKit permissions.
...
svn path=/nixos/trunk/; revision=28729
2011-08-21 20:38:45 +00:00
Peter Simons
a84ada1d92
modules/services/monitoring/smartd.nix: pass TZ variable to smartd to ensure that notification e-mails have a proper time zone
...
svn path=/nixos/trunk/; revision=28702
2011-08-19 20:44:12 +00:00
Yury G. Kudryashov
9177fc455d
Adjust nixos to latest changes in kde-4.7 in nixpkgs
...
svn path=/nixos/trunk/; revision=28598
2011-08-15 18:08:12 +00:00
Eelco Dolstra
4790c147bf
* Revert r28400 because ConsoleKit got reverted to 0.4.1.
...
svn path=/nixos/trunk/; revision=28587
2011-08-15 14:48:32 +00:00
Lluís Batlle i Rossell
4bc0bfec4c
Making the system-tarball-pc boot fine with PXE, and include help files and a
...
readme file as examples for an easy PXE setup.
This allows booting the NixOS in the system tarball, and thus allows installing nixos.
svn path=/nixos/trunk/; revision=28585
2011-08-15 14:37:00 +00:00
Lluís Batlle i Rossell
8f6a4be721
Trying to make the system tarball for pc closer to PXE boot.
...
svn path=/nixos/trunk/; revision=28573
2011-08-14 22:01:58 +00:00
Eelco Dolstra
7e2ea4df32
* Xsession script: set the current directory to $HOME.
...
svn path=/nixos/trunk/; revision=28511
2011-08-12 10:04:43 +00:00
Shea Levy
38cab9070f
synaptics module: By default, disable edge drag scrolling if two finger scrolling is enabled
...
svn path=/nixos/trunk/; revision=28472
2011-08-10 22:14:46 +00:00
David Guibert
96304c9afc
make the virtualbox guest module loadable by modprobe.
...
svn path=/nixos/trunk/; revision=28436
2011-08-09 19:53:01 +00:00
Eelco Dolstra
74586fd2bb
* Fix the permissions on /tmp.
...
svn path=/nixos/trunk/; revision=28435
2011-08-09 15:32:39 +00:00
Eelco Dolstra
d75efe4aa1
* For security, don't mount the entire host filesystem.
...
svn path=/nixos/trunk/; revision=28429
2011-08-09 14:07:44 +00:00
Eelco Dolstra
45d8c418b5
* Some hackery to get ConsoleKit to work with the SLIM and "auto"
...
display managers. This was broken due to a change in ConsoleKit
0.4.2:
https://bugs.freedesktop.org/show_bug.cgi?id=28377
Using ConsoleKit's pam-ck-connector helps in that it creates local
sessions; however, they're not marked as active because the
x11-display-device property is not set. As a workaround, calling
ck-launch-session seems to work.
More details:
https://bugs.gentoo.org/show_bug.cgi?id=336634
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598150
https://bugzilla.redhat.com/show_bug.cgi?id=585952
svn path=/nixos/trunk/; revision=28400
2011-08-08 19:28:17 +00:00
Eelco Dolstra
eba6e0456b
* Use the VESA driver. It seems to work better now. In particular,
...
it doesn't turn blue backgrounds into yellow (see
e.g. http://hydra.nixos.org/build/1232626/download/1/screen.png ).
svn path=/nixos/trunk/; revision=28395
2011-08-08 15:16:42 +00:00
Eelco Dolstra
8b30a8f23f
* In the VM tests, add "-m 0" to syslogd to kill the "-- MARK --"
...
messages. These prevent hanging tests from being killed after 1
hour of silence.
svn path=/nixos/trunk/; revision=28393
2011-08-08 14:40:16 +00:00
Shea Levy
843ccae5d5
multitouch: Use the right package name
...
svn path=/nixos/trunk/; revision=28375
2011-08-08 01:39:26 +00:00
Shea Levy
b17bb81765
multitouch: Actually add it to the module list
...
svn path=/nixos/trunk/; revision=28374
2011-08-08 01:37:49 +00:00
Shea Levy
9464c99ce2
First attempt at a multitouch touchpad module.
...
Note that the Multitouch X Driver currently has no configuration beyond editing the source code, so the only option is enable or disable
svn path=/nixos/trunk/; revision=28373
2011-08-08 01:34:36 +00:00
Shea Levy
30861ecbc8
Create multitouch module based off synaptics module
...
svn path=/nixos/trunk/; revision=28372
2011-08-08 01:27:44 +00:00
Karn Kallio
c36cf7b591
Reflect kdegraphics organization.
...
svn path=/nixos/trunk/; revision=28214
2011-08-07 00:52:35 +00:00
Eelco Dolstra
2af368279c
* Set NIX_PATH to something reasonable.
...
svn path=/nixos/trunk/; revision=28202
2011-08-06 18:55:00 +00:00
Eelco Dolstra
1df952182a
* Only flush the POSTROUTING chain.
...
svn path=/nixos/trunk/; revision=28153
2011-08-04 15:33:40 +00:00
Eelco Dolstra
3fb6026191
* Add smartmontools.
...
svn path=/nixos/trunk/; revision=28121
2011-08-02 06:53:09 +00:00
Eelco Dolstra
8aad8c536f
* Make virtualisation.qemu.options a list.
...
svn path=/nixos/trunk/; revision=28120
2011-08-02 06:52:10 +00:00
Eelco Dolstra
d890e74d9c
* Hacks to keep KDE 4.5 working. The latest D-Bus is more strict in
...
checking function arguments, so DBUS_FATAL_WARNINGS=0 is necessary
to prevent KDE from aborting. Also put the Phonon gstreamer backend
in the environment if available.
svn path=/nixos/trunk/; revision=28113
2011-08-01 14:28:28 +00:00
Eelco Dolstra
7a7d781e6a
* Allow the PulseAudio server to be overriden.
...
svn path=/nixos/trunk/; revision=28112
2011-08-01 13:26:51 +00:00
Eelco Dolstra
44725e50f0
* Apply the resource limits set by security.pam.loginLimits to all PAM
...
services (rather than just login(1)). It's rather unexpected if
resource limits are not applied to (say) users logged in via SSH or
X11.
svn path=/nixos/trunk/; revision=28105
2011-08-01 10:17:18 +00:00
Eelco Dolstra
af22531d38
* Remove the hydra-mirror module from NixOS, it's too specialised.
...
svn path=/nixos/trunk/; revision=28024
2011-07-31 22:00:29 +00:00
Eelco Dolstra
7d69a82b55
* Put the CA certificate bundle in /etc/ssl/certs because Qt expects
...
them there.
svn path=/nixos/trunk/; revision=28009
2011-07-29 19:06:27 +00:00
Rob Vermaas
d0ad799582
bind mount /proc in chroot dureing image creation, to prevent some error
...
svn path=/nixos/trunk/; revision=28002
2011-07-29 14:55:42 +00:00
Eelco Dolstra
fc9f6d0395
svn path=/nixos/trunk/; revision=27991
2011-07-28 16:35:13 +00:00
Eelco Dolstra
31afd2bb2e
* vsftpd: use /var/empty instead of /var/ftp/empty as the empty
...
chroot (the latter doesn't exist).
* vsftpd: make the anonymous user's home read-only, otherwise vsftpd
will fail.
svn path=/nixos/trunk/; revision=27983
2011-07-28 09:42:20 +00:00
Nicolas Pierron
66ffeb3fd9
UPS: Make sure the driver pid files can be stored.
...
svn path=/nixos/trunk/; revision=27979
2011-07-27 20:55:39 +00:00
Nicolas Pierron
ef63ea98f4
Experiment with dual option types (list & attribute sets).
...
svn path=/nixos/trunk/; revision=27978
2011-07-27 20:55:35 +00:00
Nicolas Pierron
e231543033
Add new services: freepops, fuppes and ups.
...
svn path=/nixos/trunk/; revision=27977
2011-07-27 20:55:28 +00:00
Eelco Dolstra
abb2779840
* The write_cd_rules script in udev needs udev in its $PATH.
...
svn path=/nixos/trunk/; revision=27970
2011-07-26 21:01:36 +00:00
Eelco Dolstra
d1f1cfcd41
* Don't make PulseAudio a requirement for KDE, it works fine without
...
it (especially now that KDE doesn't try to start PulseAudio
automatically).
svn path=/nixos/trunk/; revision=27969
2011-07-26 18:34:59 +00:00
Eelco Dolstra
3b374ea326
* Move PulseAudio initialisation below the re-exec to prevent it from
...
being started twice.
svn path=/nixos/trunk/; revision=27968
2011-07-26 18:34:10 +00:00
Eelco Dolstra
3fdc209978
* Start PulseAudio from the X session script.
...
svn path=/nixos/trunk/; revision=27967
2011-07-26 18:16:24 +00:00
Eelco Dolstra
77c85b1de7
* Install /etc/pulse/default.pa and /etc/pulse/system.pa.
...
* If PulseAudio is disabled in the NixOS config, then disable
autospawning of the PulseAudio server in /etc/pulse/client.conf.
svn path=/nixos/trunk/; revision=27966
2011-07-26 17:35:47 +00:00
Eelco Dolstra
aa5f5ed2e5
* I should test first.
...
svn path=/nixos/trunk/; revision=27964
2011-07-26 14:19:06 +00:00
Eelco Dolstra
645205b600
* Add a module for rtkit. The PulseAudio module enables rtkit to
...
acquire real-time priority.
svn path=/nixos/trunk/; revision=27963
2011-07-26 14:14:10 +00:00
Eelco Dolstra
2aaff3aa06
* Restart polkitd in the activation script to force its configuration
...
to be reloaded.
svn path=/nixos/trunk/; revision=27962
2011-07-26 14:13:07 +00:00
Eelco Dolstra
8bf3c2c1bf
* The implementation of the ALSA_PLUGIN_DIRS variable is buggy:
...
because it uses strtok() to modify the environment variable in
place, it only works correctly the first time it's called.
Subsequent calls only see the first directory listed in the
variable. This causes applications such as Audacious to fail
because the Pulse plugin is not in the first directory. However, we
don't actually need $ALSA_PLUGIN_DIRS, because /etc/asound.conf
allows the full path to the Pulse plugin to be specified.
svn path=/nixos/trunk/; revision=27960
2011-07-26 13:00:43 +00:00
Eelco Dolstra
7bdaedb465
* Add a module to enable PulseAudio. It causes all ALSA applications
...
to be rerouted to PulseAudio.
Note that this is distinct from the already existing module
‘services/audio/pulseaudio.nix’ that provides a system-wide
PulseAudio daemon, which is usually not what you want.
svn path=/nixos/trunk/; revision=27958
2011-07-26 01:51:56 +00:00
Eelco Dolstra
a1df35a590
* Don't enable HAL by default anymore. It's obsolete. It's still
...
enabled by modules that need it (KDE < 4.7, Xfce).
* Don't enable the PolicyKit module by default either, it's also
obsolete (replaced by PolKit). It's still enabled if HAL is
enabled.
svn path=/nixos/trunk/; revision=27933
2011-07-25 00:52:59 +00:00
Eelco Dolstra
38fddb2243
* The X server doesn't actually depend on HAL anymore.
...
svn path=/nixos/trunk/; revision=27932
2011-07-25 00:50:46 +00:00
Eelco Dolstra
2e4acbcf8b
* Add a NixOS module for upower.
...
svn path=/nixos/trunk/; revision=27931
2011-07-25 00:45:52 +00:00
Eelco Dolstra
fcc9cf2d85
svn path=/nixos/trunk/; revision=27930
2011-07-25 00:36:41 +00:00
Eelco Dolstra
1e5bd11a53
* Create /run in the initrd and bind-mount it into the target root.
...
This allows Udev to share its database between stage 1 and 2, which
in turn is expected by the LVM Udev rules.
svn path=/nixos/trunk/; revision=27926
2011-07-24 23:36:30 +00:00
Eelco Dolstra
a9f599154a
* Remove stupid ‘libraryPath’ entries from ~/.config/Trolltech.conf
...
that can randomly cause KDE to fail.
svn path=/nixos/trunk/; revision=27925
2011-07-24 22:07:58 +00:00
Shea Levy
d121bb15b5
Add a NixOS module for the rtl8192c firmware
...
svn path=/nixos/trunk/; revision=27913
2011-07-23 23:01:39 +00:00
Shea Levy
e5dacbe6a8
Only turn ttyBackgrounds on by default when the kernel has splashutils
...
This way users won't need to add ttyBackgrounds.enable = false when upgrading to a new kernel, and if the kernel gets splashutils in the future ttyBackgrounds will be enabled automatically.
svn path=/nixos/trunk/; revision=27911
2011-07-23 18:46:16 +00:00
Shea Levy
5a2d438f24
splashutils is already let-bound to kernelPackages.splashutils, so let's take advantage of it.
...
svn path=/nixos/trunk/; revision=27910
2011-07-23 18:15:55 +00:00
Eelco Dolstra
83846d8417
* NixOS module for Udisks.
...
svn path=/nixos/trunk/; revision=27909
2011-07-23 01:30:36 +00:00
Peter Simons
3a1b6266e4
modules/services/monitoring/smartd.nix: added services.smartd.devices option to configure list of devices to monitor
...
By default -- if this option is unset --, all connected devices will be
monitored. Hard-coding the list of devices is worth-while, though, because this
will also configure smartd to send e-mail messages to 'root' when a test fails.
svn path=/nixos/trunk/; revision=27888
2011-07-21 19:32:15 +00:00
Eelco Dolstra
7c6c50a3bf
* Nuke the KDE icon cache on login.
...
svn path=/nixos/trunk/; revision=27867
2011-07-21 11:16:46 +00:00
Lluís Batlle i Rossell
4e73287456
Adding a syslog parameter to receive log from other devices through the network.
...
svn path=/nixos/trunk/; revision=27866
2011-07-21 07:42:05 +00:00
Eelco Dolstra
68350e646d
* Support KDE 4.7.
...
svn path=/nixos/trunk/; revision=27818
2011-07-18 12:37:13 +00:00
Eelco Dolstra
c45356769e
* /var/lib/kdm needs to be owned by ‘kdm’.
...
* Set KDEDIRS properly in kdm.
svn path=/nixos/trunk/; revision=27817
2011-07-18 12:36:46 +00:00
Eelco Dolstra
63e9ece771
* Support booting into another GRUB boot entry via ‘grub-reboot’.
...
This requires grub.conf to honour the saved_entry GRUB environment
variable.
svn path=/nixos/trunk/; revision=27807
2011-07-17 11:42:44 +00:00
Eelco Dolstra
c971f2b1ac
* Shut up some udev warnings.
...
svn path=/nixos/trunk/; revision=27806
2011-07-17 11:01:31 +00:00
Eelco Dolstra
6490c6ba21
* Don't use /tmp/kdm as the home directory for the kdm user - sounds
...
insecure.
* Create /var/lib/kdm.
* In kdmrc, set BootManager to "Grub2" if we're using GRUB 2.
svn path=/nixos/trunk/; revision=27805
2011-07-17 10:52:40 +00:00
Eelco Dolstra
6e7ce112bb
* Create /etc/shells. KDM in KDE 4.7 requires it.
...
svn path=/nixos/trunk/; revision=27804
2011-07-17 10:45:49 +00:00
Eelco Dolstra
14636ba057
* The Powers That Be have decided that there shall be a /run to
...
replace /var/run and /var/lock. For instance, udev now keeps state
in /run/udev instead of /dev/.udev. See
http://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html
http://bugs.freestandards.org/show_bug.cgi?id=718
So this patch creates /run as a tmpfs, and symlinks /var/run to /run
and /var/lock to /run/lock.
TODO: create /run in stage 1 and propagate it to stage 2.
svn path=/nixos/trunk/; revision=27803
2011-07-16 19:27:45 +00:00
Eelco Dolstra
23d7a822f1
* Fix the path to mount in the rule in 50-udev-default.rules that
...
mounts /sys/fs/fuse/connections.
svn path=/nixos/trunk/; revision=27802
2011-07-16 18:40:08 +00:00
Peter Simons
aec0ee107c
modules/services/logging/syslogd.nix: change type of 'tty' option to "uniq string"
...
svn path=/nixos/trunk/; revision=27774
2011-07-14 11:35:03 +00:00
Sander van der Burg
c630e52873
Added MySQL replication support + 2 MySQL testcases (including replication)
...
svn path=/nixos/trunk/; revision=27771
2011-07-13 20:58:48 +00:00
Peter Simons
d7c4900420
syslogd: extended configuration options
...
This commit adds the option 'services.syslogd.defaultConfig', which is
the main syslog.conf file used by the daemon. Like before, That file can
be extended by means of 'services.syslogd.extraConfig'. Users who want a
completely different configuration, however, can re-define defaultConfig
to their liking.
Furthermore, the option services.syslogd.tty' is now optional: setting
its value to the empty string "" disables logging to TTY altogether.
svn path=/nixos/trunk/; revision=27769
2011-07-13 18:24:53 +00:00
Peter Simons
fb1b0c0372
modules/services/monitoring/smartd.nix: added support for running smart daemon
...
Set "services.smartd.enable = true" to enable the service.
svn path=/nixos/trunk/; revision=27767
2011-07-13 17:47:34 +00:00
Peter Simons
e056880dc4
base.nix: strip trailing whitespace
...
svn path=/nixos/trunk/; revision=27755
2011-07-13 12:18:25 +00:00
Peter Simons
0c68a3440a
modules/profiles/base.nix: add 'pkgs.sshfsFuse'
...
The sshfsFuse package -- which is part of the system profile already -- doesn't
work without fuse. It tries to run /var/setuid-wrappers/fusermount, which then
can't find fusermount. Adding fuse to the system profile remedies this problem.
svn path=/nixos/trunk/; revision=27754
2011-07-13 12:18:23 +00:00
Eelco Dolstra
c548597976
* Allow Git to find the CA bundle.
...
svn path=/nixos/trunk/; revision=27735
2011-07-12 12:45:48 +00:00
Peter Simons
0ffb794d5d
modules/services/networking/ssh/sshd.nix: strip trailing whitespace
...
svn path=/nixos/trunk/; revision=27733
2011-07-12 10:34:30 +00:00
Peter Simons
ea84edd528
modules/services/networking/ssh/sshd.nix: added new boolean options usePAM and passwordAuthentication
...
Setting both of these options to 'false' configures the OpenSSH daemon to
reject password authentication, i.e. users must have an appropriate key in
~/.ssh/authorized_keys in order to be able to log in.
svn path=/nixos/trunk/; revision=27732
2011-07-12 10:34:27 +00:00
Eelco Dolstra
6857a28f0e
* Postfix needs TZ to be set, otherwise the generated headers are
...
wrong (reported by Peter Simons).
svn path=/nixos/trunk/; revision=27639
2011-07-07 19:18:40 +00:00
Eelco Dolstra
466d798b15
* Oops.
...
svn path=/nixos/trunk/; revision=27608
2011-07-05 12:54:50 +00:00
Eelco Dolstra
3bc3dc3940
* Put the NixOS firewall ruleset in its own chain (‘nixos-fw’). This
...
should make it easier to compose with packages that set their own
firewall rules, such as Nova or Libvirt.
* Provide a chain for accepted packets (‘nixos-fw-accept’), requested
by Nicolas Pierron.
svn path=/nixos/trunk/; revision=27607
2011-07-05 12:51:46 +00:00
Eelco Dolstra
1d09ad240a
* Don't set defaultSkin to "default" because that's a horrible skin
...
(does it even exist?). Use "" instead (which is really "monobook").
svn path=/nixos/trunk/; revision=27604
2011-07-04 15:51:38 +00:00
Eelco Dolstra
bf00977ce1
* Add an option ‘services.postgresql.extraConfig’.
...
svn path=/nixos/trunk/; revision=27550
2011-06-27 10:15:26 +00:00
Eelco Dolstra
010a2a7555
* Support creating non-system user accounts.
...
svn path=/nixos/trunk/; revision=27545
2011-06-27 08:50:30 +00:00
Sander van der Burg
ab70d480ab
The machines in the network should be accessed by the node function parameter
...
svn path=/nixos/trunk/; revision=27538
2011-06-24 12:35:58 +00:00
Joachim Schiele
1ea24769a0
added support for two custom themes and also wrote a nice looking nixos theme
...
svn path=/nixos/trunk/; revision=27535
2011-06-23 20:56:37 +00:00
Eelco Dolstra
c41b01ea23
* Canonicalize boot.loader.grub.device before calling grub-install to
...
ensure that values such as /dev/disk/by-id/ata-WDC... work.
svn path=/nixos/trunk/; revision=27519
2011-06-22 18:22:58 +00:00
Eelco Dolstra
a2ad688a63
* Handle the case where networking.hostName is empty.
...
svn path=/nixos/trunk/; revision=27510
2011-06-21 10:46:21 +00:00
Eelco Dolstra
59355bafe5
* Initialise bridges before doing the configuration specified in
...
networking.interfaces and networking.localCommands.
svn path=/nixos/trunk/; revision=27505
2011-06-20 18:12:47 +00:00
Eelco Dolstra
3cb5ea79bd
* Add an option virtualisation.nova.extraConfig.
...
svn path=/nixos/trunk/; revision=27504
2011-06-20 14:27:06 +00:00
Eelco Dolstra
545431003b
* Create some virtual consoles in Nova VMs because it provides VNC
...
access.
svn path=/nixos/trunk/; revision=27483
2011-06-16 14:15:37 +00:00
Eelco Dolstra
e25843d01c
* Add an option to distinguish between EC2 and Nova targets.
...
svn path=/nixos/trunk/; revision=27482
2011-06-16 14:14:50 +00:00
Eelco Dolstra
6719446d4b
* Some hackery to get foomatic-filters to work.
...
svn path=/nixos/trunk/; revision=27471
2011-06-15 12:41:15 +00:00
Eelco Dolstra
e9a567f8d2
* Update the Nova module for the Cactus release.
...
svn path=/nixos/trunk/; revision=27410
2011-06-09 17:11:56 +00:00
Eelco Dolstra
c2a3aa8e79
* Open UDP port 631 in the firewall to allow CUPS to discover
...
printers on the network.
svn path=/nixos/trunk/; revision=27399
2011-06-08 15:55:51 +00:00
Evgeny Egorochkin
c734389e90
Virtuoso: add parameters section to config
...
svn path=/nixos/trunk/; revision=27342
2011-06-04 10:53:07 +00:00
Evgeny Egorochkin
733917db0f
Virtuoso: add dirsAllowed option, minor cleanup
...
svn path=/nixos/trunk/; revision=27336
2011-05-31 14:56:56 +00:00
Evgeny Egorochkin
b65a4840b8
Make virtuoso drop root privileges
...
svn path=/nixos/trunk/; revision=27334
2011-05-31 09:56:55 +00:00
Evgeny Egorochkin
14859264a9
Virtuoso database service: packaged
...
svn path=/nixos/trunk/; revision=27332
2011-05-31 07:44:17 +00:00
Michael Raskin
be85cdacfd
Fix space-containing name processing
...
svn path=/nixos/trunk/; revision=27313
2011-05-28 20:08:49 +00:00
Michael Raskin
25bb8b3d55
Link TrueType/OpenType fonts to all-fonts directory, too
...
svn path=/nixos/trunk/; revision=27312
2011-05-28 19:58:43 +00:00
Eelco Dolstra
4984fa1ee6
* Fix the Nixpkgs mirror script (it didn't have the necessary
...
modules in the Perl search path).
svn path=/nixos/trunk/; revision=27261
2011-05-16 07:46:31 +00:00
Eelco Dolstra
95dc49a89d
* Add an option ‘deployment.ec2.keyPair’.
...
svn path=/nixos/trunk/; revision=27238
2011-05-12 15:30:56 +00:00
Eelco Dolstra
862fe5ad78
* Generate a nova.conf file.
...
* Provide a configuration.nix in Nova images.
svn path=/nixos/trunk/; revision=27224
2011-05-11 13:52:49 +00:00
Eelco Dolstra
7579933824
* Don't mount /dev/cgroup with the "ns" subsystem. If it's mounted,
...
then every unshare(CLONE_NEWNS) system call causes a new entry to be
created in /dev/cgroup/<pid>, which is not removed automatically.
This can cause subsequent calls to unshare() to fail if the PID has
wrapped around. Worse, a large number of entries in /dev/cgroup
causes a very substantial system slowdown: doing 10,000
fork()/unshare(CLONE_NEWNS)/exit() calls took 21s without the "ns"
subsystem, but 2m43s with it, and the system slows down permanently
until the entries in /dev/cgroup are removed (going to a load of > 6
on my laptop).
This is particularly important for Nix because its chroot feature
uses unshare(CLONE_NEWNS). (http://yellowgrass.org/issue/Nix/219 )
svn path=/nixos/trunk/; revision=27216
2011-05-11 09:33:24 +00:00
Eelco Dolstra
6bc3a76439
* Add an option ‘deployment.adhoc.destroyVMCommand’.
...
svn path=/nixos/trunk/; revision=27211
2011-05-10 13:12:35 +00:00
Eelco Dolstra
d72ba42187
* Revert to GRUB 1 as the default. The switch to GRUB 2 seems to
...
cause more problems than expected, so we should probably think about
the proper migration path for a while. In the meantime, of course,
everybody is encouraged to set boot.loader.grub.version = 2.
svn path=/nixos/trunk/; revision=27209
2011-05-10 10:35:20 +00:00
Michael Raskin
f24a78fe35
Fix typo in emergency grub config
...
svn path=/nixos/trunk/; revision=27196
2011-05-09 14:21:02 +00:00
Eelco Dolstra
f35011e59a
svn path=/nixos/trunk/; revision=27187
2011-05-08 20:51:40 +00:00
Ludovic Courtès
9c3d72cf8e
Default to GRUB version 2.
...
svn path=/nixos/trunk/; revision=27165
2011-05-05 15:07:37 +00:00
Lluís Batlle i Rossell
c4fe98706b
Fixing the samba daemons. "smbd -i", as we were using, handles *one request* and exit.
...
When it was working more or less, it was through upstart respawn.
svn path=/nixos/trunk/; revision=27140
2011-05-04 12:34:26 +00:00
Eelco Dolstra
07820cb8cb
svn path=/nixos/trunk/; revision=27049
2011-04-29 13:24:24 +00:00
Eelco Dolstra
311b702c70
* A bunch of options for the new nixos-deploy-network. Completely
...
unimplemented of course.
svn path=/nixos/trunk/; revision=27048
2011-04-29 11:28:43 +00:00
Sander van der Burg
deb6cce4bb
Adapted deploy-network to accept multiple network configurations which are zipped together. With this you can run the tool like this:
...
$ nixos-deploy-network network1.nix network2.nix
svn path=/nixos/trunk/; revision=27028
2011-04-28 11:02:58 +00:00
Michael Raskin
a61015cfa1
IRCD expression needs recursive attrsets...
...
svn path=/nixos/trunk/; revision=27025
2011-04-28 08:23:09 +00:00
Lluís Batlle i Rossell
0af7c7bdcb
Making the samba services get the timezone.
...
svn path=/nixos/trunk/; revision=27022
2011-04-28 08:07:17 +00:00
Eelco Dolstra
6739162d9a
* Move ircd-hybrid stuff from the services tree to the nixos tree.
...
svn path=/nixos/trunk/; revision=27009
2011-04-27 16:27:05 +00:00
Eelco Dolstra
3ae283e8c3
* Remove installer2 and nixos-bootstrap-archive for lack of
...
documentation / maintenance / clear use cases.
svn path=/nixos/trunk/; revision=27008
2011-04-27 16:16:47 +00:00