summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 16:14:15 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 22:45:56 +0100
commitd5047faedef254d01a21618224698c190bb67e5b (patch)
tree42a43de15611b5e35b2888f02fb940365edb1402 /nixos/modules/hardware
parentf4a418761b481b15900c78b8086e7be58b0afe4e (diff)
downloadnixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar.gz
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar.bz2
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar.lz
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar.xz
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.tar.zst
nixpkgs-d5047faedef254d01a21618224698c190bb67e5b.zip
Remove uses of the "merge" option attribute
It's redundant because you can (and should) specify an option type, or
an apply function.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/pcmcia.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/hardware/pcmcia.nix b/nixos/modules/hardware/pcmcia.nix
index 0dba59734ca..dea04ac753c 100644
--- a/nixos/modules/hardware/pcmcia.nix
+++ b/nixos/modules/hardware/pcmcia.nix
@@ -18,16 +18,16 @@ in
 
     hardware.pcmcia = {
       enable = mkOption {
+        type = types.bool;
         default = false;
-        merge = mergeEnableOption;
         description = ''
           Enable this option to support PCMCIA card.
         '';
       };
 
       firmware = mkOption {
+        type = types.listOf types.path;
         default = [];
-        merge = mergeListOption;
         description = ''
           List of firmware used to handle specific PCMCIA card.
         '';