summary refs log tree commit diff
path: root/nixos/modules/tasks
Commit message (Collapse)AuthorAge
* Don't require forcing utils to get to libShea Levy2014-12-10
|
* nfs-utils: align attrname with pkgnameBjørn Forsman2014-12-06
| | | | | nfsUtils => nfs-utils. Keep copy of old attribute for backward compatibility.
* nixos: Add network-pre.target and adjust firewall start orderingWilliam A. Kennington III2014-12-01
|
* nixos/nfs: Fix dependency orderingWilliam A. Kennington III2014-12-01
|
* nixos/networking: Fix more harmless errorsWilliam A. Kennington III2014-12-01
|
* nixos/network: Fix typoWilliam A. Kennington III2014-11-30
|
* nixos/network: Only check slave interfaces which are configuredWilliam A. Kennington III2014-11-30
|
* nixos/networkd: Fix dhcp being enabled when it should be disabledWilliam A. Kennington III2014-11-30
|
* nixos/networking: Fix dependencies for macvlan which should be on bridgesWilliam A. Kennington III2014-11-30
|
* nixos/networkd: Fix macvlan called with null modeWilliam A. Kennington III2014-11-30
|
* nixos/nfs: Fix TestWilliam A. Kennington III2014-11-30
|
* nixos/networking: Improve service orderingWilliam A. Kennington III2014-11-29
|
* nixos/networking: More fixesWilliam A. Kennington III2014-11-29
|
* nixos/network-interfaces: More fixesWilliam A. Kennington III2014-11-27
|
* nixos/network-interfaces: Add maclvan supportWilliam A. Kennington III2014-11-26
|
* nixos/networking: FixesWilliam A. Kennington III2014-11-26
|
* nixos/network-interfaces: Make it clear that networkd is experimentalWilliam A. Kennington III2014-11-26
|
* nixos/network-interfaces: Refactor scripts for reliability and dependency ↵William A. Kennington III2014-11-26
| | | | removal
* nixos/network-interfaces: Promote secondary addresses when primary addresses ↵William A. Kennington III2014-11-26
| | | | expire
* nixos/network-interfaces: Support mac address and mtu universallyWilliam A. Kennington III2014-11-26
|
* nixos: Support network-online target in addition to ip-upWilliam A. Kennington III2014-11-26
|
* networkd: Support Host ResolvconfWilliam A. Kennington III2014-11-26
|
* nixos/network-interfaces-scripted: Fix network-setup triggeringWilliam A. Kennington III2014-11-26
|
* nixos/network-interfaces: Provide a networkd implementationWilliam A. Kennington III2014-11-26
|
* systemd: Enable more network servicesWilliam A. Kennington III2014-11-26
|
* nixos: Add system-wide option to set the hostidRicardo M. Correia2014-11-12
| | | | | | | | | | | | | | | | | | | | | | | | The old boot.spl.hostid option was not working correctly due to an upstream bug. Instead, now we will create the /etc/hostid file so that all applications (including the ZFS kernel modules, ZFS user-space applications and other unrelated programs) pick-up the same system-wide host id. Note that glibc (and by extension, the `hostid` program) also respect the host id configured in /etc/hostid, if it exists. The hostid option is now mandatory when using ZFS because otherwise, ZFS will require you to force-import your ZFS pools if you want to use them, which is undesirable because it disables some of the checks that ZFS does to make sure it is safe to import a ZFS pool. The /etc/hostid file must also exist when booting the initrd, before the SPL kernel module is loaded, so that ZFS picks up the hostid correctly. The complexity in creating the /etc/hostid file is due to having to write the host ID as a 32-bit binary value, taking into account the endianness of the machine, while using only shell commands and/or simple utilities (to avoid exploding the size of the initrd).
* nixos/zfs: Improve the ZFS boot processRicardo M. Correia2014-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that the upstream systemd services that import ZFS pools contain serious bugs. The first major problem is that importing pools fails if there are no pools to import. The second major problem is that if a pool ends up in /etc/zfs/zpool.cache but it disappears from the system (e.g. if you reboot but during the reboot you unplug your ZFS-formatted USB pen drive), then the import service will always fail and it will be impossible to get rid of the pool from the cache (unless you manually delete the cache). Also, the upstream service would always import all available ZFS pools every boot, which may not be what is desired in some cases. This commit will solve these problems in the following ways: 1. Ignore /etc/zfs/zpool.cache. This seems to be a major source of issues, and also does not play well with NixOS's philosophy of reproducible configurations. Instead, on every boot NixOS will try to import the set of pools that are specified in its configuration. This is also the direction that upstream is moving towards. 2. Instead of trying to import all ZFS pools, only import those that are actually necessary. NixOS will automatically determine these from the config.fileSystems.* option. Also, the user can import any additional pools every boot by adding them to the config.boot.zfs.extraPools option, but this is only necessary if their filesystems are not specified in config.fileSystems.*. 3. Added options to configure if ZFS should force-import ZFS pools. This may currently be necessary, especially if your pools have not been correctly imported with a proper host id configuration (which is probably true for 99% of current NixOS ZFS users). Once host id configuration becomes mandatory when using ZFS in NixOS and we are sure that most users have updated their configurations and rebooted at least once, we should disable force-import by default. Probably, this shouldn't be done before the next stable release. WARNING: This commit may change the order in which your non-ZFS vs ZFS filesystems are mounted. To avoid this problem (now or in the future) it is recommended that you set the 'mountpoint' property of your ZFS filesystems to 'legacy', and that you manage them using config.fileSystems, just like any other non-ZFS filesystem is usually managed in NixOS.
* zfs: Enable systemdRicardo M. Correia2014-11-12
| | | | | | | | | Also remove custom zfs services from NixOS. This makes NixOS more aligned with upstream. More importantly, it prepares the way for NixOS to use ZED (the ZFS event daemon). This service will automatically be enabled but it is not possible to configure it via configuration.nix yet.
* nixos: move bcache udev rule in a new bcache.nix moduleLuca Bruno2014-11-10
|
* nixos: Add boot.initrd.extraUdevRulesCommandsLuca Bruno2014-11-10
|
* nixos: Add a filesystem module for JFS.aszlig2014-10-22
| | | | | | | I'm not using JFS, but this is to mainly make jfsutils available if you have defined a JFS filesystem in your configuration. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* zfs: zpool-import service must be wanted to startWilliam A. Kennington III2014-10-11
|
* nixos/network-interfaces: Bond interface configuration must wait for the ↵William A. Kennington III2014-10-07
| | | | | | bond device service Also fixes some formatting and removal of slave devices.
* network-interfaces: Bonding fixesWilliam A. Kennington III2014-10-04
|
* network-interface: Add extra bond optionsWilliam A. Kennington III2014-10-04
|
* iproute: Fix regressions introduced in 3.16.0William A. Kennington III2014-09-26
| | | | | | | | | 3.16.0 introduced a regression where vlan and veth devices could not be created due to a check in the code for existing devices. This applies the upstream patch which fixes the issue. Additionally, this corrects the nixos network-interfaces task which now needs to specify the name parameter when adding links.
* nixos/nfs: Fix configuration mergeRickard Nilsson2014-09-16
|
* nixos/networking: Fix typo in ipv6prefixLength.aszlig2014-09-05
| | | | | | | | Within the module it's referenced with an uppercase "P" and ipv6Address also begins with an uppercase "A" after the "6", so let's make it consistent. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge pull request #3843 from wkennington/master.iffixMichael Raskin2014-09-03
|\ | | | | nixos/network-interfaces: Sanitize sys-subsystem device names
| * nixos/network-interfaces: Sanitize sys-subsystem device namesWilliam A. Kennington III2014-09-03
| | | | | | | | | | | | | | | | | | | | | | Currently, nixos will allow for interface names with special characters such as the hyphen to be used. This presents a problem when using systemd device names as the namespace paths are separated using hyphens. Within systemd, if a device name has a hyphen it should be replaced with the escape sequence \x2d. This patch sanitizes all interface names before they are used in a systemd device string.
* | Merge pull request #3267 from Mathnerd314/cpufreq_noiseMichael Raskin2014-09-03
|\ \ | |/ |/| Remove non-cpufreq_* modules since they are loaded by udev
| * Remove non-cpufreq_* modules since they are loaded by udev.Mathnerd3142014-07-14
| |
* | Merge pull request #3747 from wkennington/master.explicitMichael Raskin2014-09-03
|\ \ | | | | | | nixos/network-interfaces: Allow explicit virtual interface type setting
| * | nixos/network-interfaces: Fix vlan device coming up during switchWilliam A. Kennington III2014-08-30
| | |
| * | nixos/network-interface: Append -netdev for all device unitsWilliam A. Kennington III2014-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, device units are named directly after the name the user specifies for the device. A bridge device named lan will be defined within lan.service. This becomes a problem if you want your interface named nginx but also want to run the nginx service. This patch fixes the issue by appending netdev to all virtually created network device units. Therefore, the lan bridge -> lan-netdev.service. This naming convention is used for all types of network devices in order to ensure that all network devices are unique.
| * | nixos/network-interfaces: Allow explicit virtual interface type settingWilliam A. Kennington III2014-08-30
| | |
* | | Revert "Revert "Merge pull request #2449 from wkennington/master.grub""William A. Kennington III2014-09-02
| | | | | | | | | | | | | | | | | | | | | This reverts commit 94205f5f21c4d9942bb4205c06229438051b6853. Conflicts: nixos/modules/system/boot/loader/grub/install-grub.pl
* | | Merge pull request #3911 from vlstill/nfs-port_pullreqMichael Raskin2014-09-02
|\ \ \ | | | | | | | | nfsd: Make it possible to fix rpc.{mountd,statd,lockd} ports.
| * | | nfsd: Make it possible to fix rpc.{mountd,statd,lockd} ports.Vladimir Still2014-08-31
| | | |
* | | | nixos/network-interfaces: Fix bug in converting old ipAddressesWilliam A. Kennington III2014-08-31
| | | |