diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-07-20 21:06:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 21:06:32 +0200 |
commit | 1a6af9f88ec2405334a9fd6a977ccbcb53472305 (patch) | |
tree | 4976952d82daa3fb817193170299fd6f50c6c6d1 /nixos/modules/tasks/encrypted-devices.nix | |
parent | ce12ad31169edfb1de911e54be9230b298e325f3 (diff) | |
parent | 87f5930c3fb2c852f5243278b7a9da8e117d95e4 (diff) |
Merge pull request #43857 from volth/unused
[bot] treewide: remove unreferenced code
Diffstat (limited to 'nixos/modules/tasks/encrypted-devices.nix')
-rw-r--r-- | nixos/modules/tasks/encrypted-devices.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/tasks/encrypted-devices.nix b/nixos/modules/tasks/encrypted-devices.nix index da0c9408d8919..11ed5d7e4d0c7 100644 --- a/nixos/modules/tasks/encrypted-devices.nix +++ b/nixos/modules/tasks/encrypted-devices.nix @@ -7,7 +7,6 @@ let encDevs = filter (dev: dev.encrypted.enable) fileSystems; keyedEncDevs = filter (dev: dev.encrypted.keyFile != null) encDevs; keylessEncDevs = filter (dev: dev.encrypted.keyFile == null) encDevs; - isIn = needle: haystack: filter (p: p == needle) haystack != []; anyEncrypted = fold (j: v: v || j.encrypted.enable) false encDevs; |