summary refs log tree commit diff
path: root/modules/tasks
Commit message (Collapse)AuthorAge
* * Modularise vfat support. Also add fsck.vfat to the initrd. ThisEelco Dolstra2012-03-09
| | | | | | | prevents errors when booting from VFAT (e.g. an ISO image converted using unetbootin). svn path=/nixos/trunk/; revision=32956
* * Modularize filesystem support. Filesystems such as btrfs andEelco Dolstra2012-03-09
| | | | | | | | | | | | 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
* Making nixos fileSystems aware of fsType "reiserfs" and "btrfs", regardingLluís Batlle i Rossell2012-03-08
| | | | | | | | | modules, tools, intrd pieces, ... That's only useful if the user specifies fsType, though. svn path=/nixos/trunk/; revision=32912
* changed the way networking-providers plug themselves before "networking"Mathijs Kwik2012-03-04
| | | | svn path=/nixos/trunk/; revision=32781
* renamed "all-interfaces" to "networking"Mathijs Kwik2012-03-04
| | | | svn path=/nixos/trunk/; revision=32780
* all-interfaces eventMathijs Kwik2012-03-04
| | | | | | | | | | | | | | | | | | | 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
* optionally run "btrfs device scan" during mountall.Peter Simons2012-02-28
| | | | | | | | | 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
* * Use the networking.useDHCP out of the dhclient module.Eelco Dolstra2012-02-20
| | | | svn path=/nixos/trunk/; revision=32428
* * Use openresolv to set the static nameserver configuration. NextEelco Dolstra2012-02-20
| | | | | | | step is to get the DHCP client, OpenVPN etc. to use openresolv as well. svn path=/nixos/trunk/; revision=32411
* Reverting 32228. That was an incomplete change I had in the working directory.Lluís Batlle i Rossell2012-02-15
| | | | svn path=/nixos/trunk/; revision=32308
* Adding extra options for resolv.confLluís Batlle i Rossell2012-02-11
| | | | svn path=/nixos/trunk/; revision=32228
* * Prevent merging of some options. P.S. maybe string optionsEelco Dolstra2012-01-13
| | | | | | should be "uniq" by default. svn path=/nixos/trunk/; revision=31520
* fix scsi-link-power-management.nix which broke cpufreqFlorian Friesdorf2012-01-13
| | | | svn path=/nixos/trunk/; revision=31507
* powerManagement.enable sets link_power_management_policy to min_powerFlorian Friesdorf2012-01-12
| | | | svn path=/nixos/trunk/; revision=31490
* * If power management is enabled, set the governor to ‘ondemand’ byEelco Dolstra2011-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added cpuFreqGovernor option to configure a CPU frequency governor.Peter Simons2011-12-16
| | | | svn path=/nixos/trunk/; revision=30949
* * utillinuxng -> utillinux.Eelco Dolstra2011-12-12
| | | | svn path=/nixos/trunk/; revision=30858
* * Disable all fbcondecor-related stuff if boot.vesa is disabled.Eelco Dolstra2011-11-08
| | | | svn path=/nixos/trunk/; revision=30343
* * Declaring fileSystems as "loa" (list or attribute set) is bad because it canEelco Dolstra2011-10-26
| | | | | | | | 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
* modules/tasks/network-interfaces.nix: create network bridges with "forward ↵Peter Simons2011-09-26
| | | | | | | | delay" set to zero This change obsoletes the need to increase the IPv6 "router_solicitations" parameter. svn path=/nixos/trunk/; revision=29493
* strip trailing whitespace; no functional changePeter Simons2011-09-14
| | | | svn path=/nixos/trunk/; revision=29285
* * Add fsck.vfat etc. to the default install. Useful for USB sticksEelco Dolstra2011-08-30
| | | | | | and stuff like that. svn path=/nixos/trunk/; revision=28934
* Experiment with dual option types (list & attribute sets).Nicolas Pierron2011-07-27
| | | | svn path=/nixos/trunk/; revision=27978
* Only turn ttyBackgrounds on by default when the kernel has splashutilsShea Levy2011-07-23
| | | | | | 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
* splashutils is already let-bound to kernelPackages.splashutils, so let's ↵Shea Levy2011-07-23
| | | | | | take advantage of it. svn path=/nixos/trunk/; revision=27910
* * Initialise bridges before doing the configuration specified inEelco Dolstra2011-06-20
| | | | | | networking.interfaces and networking.localCommands. svn path=/nixos/trunk/; revision=27505
* * Get rid of a cyclic symlink to the default theme.Eelco Dolstra2011-04-06
| | | | svn path=/nixos/trunk/; revision=26712
* * Some hackery to make sure that router solicitations get throughEelco Dolstra2011-04-01
| | | | | | | | after creating a bridge. * Ignore errors (set +e) so that we can get rid of all the "|| true" clauses. svn path=/nixos/trunk/; revision=26660
* Convert assertion option into mkAssert.Nicolas Pierron2011-03-30
| | | | svn path=/nixos/trunk/; revision=26614
* * Add the rdnss daemon.Eelco Dolstra2011-03-24
| | | | | | * Add the ndisc6 package to the system path if IPv6 is enabled. svn path=/nixos/trunk/; revision=26496
* * Added an option `networking.bridges' to allow Ethernet bridges to beEelco Dolstra2011-03-15
| | | | | | defined. svn path=/nixos/trunk/; revision=26325
* * Use "ip" instead of "ifconfig" for setting up network interfaces,Eelco Dolstra2011-03-11
| | | | | | | | | | | | | | | | | | | | | | | since the latter is rather deprecated and has been unmaintained since 2001. Note that "ip" doesn't know about classful addressing, so you can no longer get away with not specifying the subnet mask for explicitly configured interfaces. So if you had networking.interfaces = [ { name = "eth0"; ipAddress = "192.168.1.1"; } ]; this should be changed to networking.interfaces = [ { name = "eth0"; ipAddress = "192.168.1.1"; subnetMask = "255.255.255.0"; } ]; otherwise you end up with a subnet mask of 255.255.255.255. svn path=/nixos/trunk/; revision=26279
* * Remove "modprobe af_packet". It's loaded automatically when needed.Eelco Dolstra2011-03-11
| | | | svn path=/nixos/trunk/; revision=26277
* * Cleanup.Eelco Dolstra2011-03-09
| | | | svn path=/nixos/trunk/; revision=26228
* * Add iproute to the path used by networking.localCommands.Eelco Dolstra2011-03-09
| | | | svn path=/nixos/trunk/; revision=26222
* * Enable IPv6 support by default. (Note that most NixOS systemsEelco Dolstra2011-02-19
| | | | | | | already had the ipv6 kernel module loaded, because dhclient needs it.) svn path=/nixos/trunk/; revision=26034
* network-interfaces: MAC address support take 2: now it seems to workEvgeny Egorochkin2010-11-24
| | | | svn path=/nixos/trunk/; revision=24847
* network-interfaces: support changing MAC addresses of interfacesEvgeny Egorochkin2010-11-24
| | | | svn path=/nixos/trunk/; revision=24846
* network-interfaces: cleanupEvgeny Egorochkin2010-11-24
| | | | svn path=/nixos/trunk/; revision=24845
* Trying to improve the message hit by new users, if they use the 2.6.36Lluís Batlle i Rossell2010-11-06
| | | | | | | | kernelPackages and don't disable the ttyBackgrounds. Some users got confused by the previous message. svn path=/nixos/trunk/; revision=24612
* * Don't set hostname to "", dhclient no longer needs it.Eelco Dolstra2010-09-14
| | | | svn path=/nixos/trunk/; revision=23783
* Some cleanups in the activation script:Eelco Dolstra2010-09-13
| | | | | | | | | | | * Moved some scriptlets to the appropriate modules. * Put the scriptlet that sets the default path at the start, since it never makes sense not to have it there. It no longer needs to be declared as a dependency. * If a scriptlet has no dependencies, it can be denoted as a plain string (i.e., `noDepEntry' is not needed anymore). svn path=/nixos/trunk/; revision=23762
* * Added an option to disable fsck on particular filesystems.Eelco Dolstra2010-09-13
| | | | svn path=/nixos/trunk/; revision=23744
* * Remove a debug line that should not have been committed.Eelco Dolstra2010-07-12
| | | | svn path=/nixos/trunk/; revision=22566
* * On an `ip-up' event, notify mountall so that it retries mountingEelco Dolstra2010-07-12
| | | | | | remote filesystems. svn path=/nixos/trunk/; revision=22564
* * Merge the ‘nfs-kernel-sm-notify’ task into the post-start script ofEelco Dolstra2010-07-07
| | | | | | | | | | the ‘nfs-kernel-statd’ task. * Work around an apparent bug in Upstart: the ‘mountall’ task cannot be restarted because of the ‘starting mountall’ condition in the statd task. So instead make ‘mountall’ depend on ‘started nfs-kernel-statd’. svn path=/nixos/trunk/; revision=22508
* * The `network-interfaces' task should wait until `udevtrigger' hasEelco Dolstra2010-07-06
| | | | | | | finished, because it loads the kernel modules for the network devices. svn path=/nixos/trunk/; revision=22492
* * Move the swap module to config/ because it doesn't provide a taskEelco Dolstra2010-07-06
| | | | | | | anymore. Activating swap devices is now handled by the mountall task. svn path=/nixos/branches/boot-order/; revision=22489
* * Ensure that the ‘mount-failed’ and ‘emergency-shell’ tasks don't getEelco Dolstra2010-07-05
| | | | | | started by ‘switch-to-configuration.sh’. svn path=/nixos/branches/boot-order/; revision=22473
* * nfsd: run rpc.nfsd from the pre-start script since it's not actuallyEelco Dolstra2010-06-08
| | | | | | | | | | a daemon (it just starts some kernel threads). In the post-stop script, stop the kernel threads. * exportfs: fix the createMountPoints option. * Mount the nfsd filesystem on /proc/fs/nfsd because mountd prefers this. svn path=/nixos/branches/boot-order/; revision=22187