Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
aa312f8547
|
|||
|
dc285cab4e
|
|||
|
7030e812fc
|
|||
|
002e0074c8
|
|||
| 3988a6e071 | |||
| b78c41a5f7 | |||
| e1f2dc3161 | |||
|
f1c5f038ec
|
|||
|
ae0d4f5958
|
|||
|
ded0374c57
|
|||
|
ab0f9a2ff2
|
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
rec {
|
rec {
|
||||||
attrsToList = mapAttrsToList nameValuePair;
|
toList = x: if builtins.isList x then x else [ x ];
|
||||||
|
|
||||||
mapAttrsToList = f: attrs: builtins.attrValues (builtins.mapAttrs f attrs);
|
|
||||||
|
|
||||||
nameValuePair = name: value: { inherit name value; };
|
nameValuePair = name: value: { inherit name value; };
|
||||||
|
|
||||||
toList = x: if builtins.isList x then x else [ x ];
|
mapAttrsToList = f: attrs: builtins.attrValues (builtins.mapAttrs f attrs);
|
||||||
|
|
||||||
|
attrsToList = mapAttrsToList nameValuePair;
|
||||||
|
|
||||||
getSSHKeys =
|
getSSHKeys =
|
||||||
username:
|
username:
|
||||||
|
|||||||
Reference in New Issue
Block a user