nixpkgs/nixos/modules
Josh Cartwright 626a666da5 gummiboot/builder: fix timeout setting when unset
The gummiboot-builder.py script is expecting the @timeout@ metavar to be
substituted for either an empty string (in the case where a user has
left the timeout unset) or the actual value set in the system
configuration.

However, the config.boot.loader.gummiboot.timeout option defaults to
'null', and due to the way pkgs.substituteAll works, the substitution
for '@timeout@' is _never_ set to the empty string.  This causes the
builder script to put a bogus line into /boot/loader/loader.conf:

   timeout @timeout@

Fix this by explicitly setting 'timeout' to the empty string when it's
unset in the system configuration.

Signed-off-by: Josh Cartwright <joshc@eso.teric.us>
2014-09-03 05:36:45 +02:00
..
config vpnc: Fix building of system config. 2014-08-31 21:39:03 +02:00
hardware Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
installer Revert "Merge pull request #2449 from wkennington/master.grub" 2014-08-31 12:58:37 +04:00
misc Add IDs for uhub service 2014-09-01 10:53:19 +04:00
profiles initrd.availableKernelModules: add support for keyboards 2014-08-12 20:00:01 +02:00
programs Revert "Revert "Merge pull request #3182 from wkennington/master.ipv6"" 2014-08-31 09:46:16 -07:00
security nixos: add setuid wrappers for some networked filesystems' helpers 2014-09-01 10:33:48 +04:00
services nixos/znc: fix immutable config. 2014-09-01 16:21:12 +02:00
system gummiboot/builder: fix timeout setting when unset 2014-09-03 05:36:45 +02:00
tasks nixos/network-interfaces: Fix bug in converting old ipAddresses 2014-08-31 09:47:18 -07:00
testing Fix evaluation 2014-08-06 19:44:13 +02:00
virtualisation nixos-container run: Execute command using ‘su’ 2014-08-28 02:20:31 +02:00
module-list.nix nixos: Add new service for OpenNTPd. 2014-09-01 16:07:28 +02:00
rename.nix Remove the option ‘programs.bash.enable’ 2014-04-29 19:00:39 +02:00