summary refs log tree commit diff
path: root/nixos/modules/system/activation/top-level.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-25 00:27:06 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-25 00:40:34 +0200
commit9c61317002edf32812d793aebac86a990edcd1cb (patch)
tree0fcf366014270704b5705b54c4ee01445c78ce3c /nixos/modules/system/activation/top-level.nix
parentce6daa507a4e110aa33447f70bd4764df9ea10c8 (diff)
downloadnixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar.gz
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar.bz2
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar.lz
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar.xz
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.tar.zst
nixpkgs-9c61317002edf32812d793aebac86a990edcd1cb.zip
Put all firmware in $out/lib/firmware
This way, hardware.firmware can be a list of packages.
Diffstat (limited to 'nixos/modules/system/activation/top-level.nix')
-rw-r--r--nixos/modules/system/activation/top-level.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 83930079816..a977ddb7bb4 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -50,7 +50,7 @@ let
 
         ln -s ${config.system.build.initialRamdisk}/initrd $out/initrd
 
-        ln -s ${config.hardware.firmware} $out/firmware
+        ln -s ${config.hardware.firmware}/lib/firmware $out/firmware
       ''}
 
       echo "$activationScript" > $out/activate