Skip to content

Commit 983e586

Browse files
authored
fix(nix): snippet to include brackets
1 parent 94db50b commit 983e586

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

snippets/nix.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,19 @@
107107
"module": {
108108
"prefix": "module";
109109
"body": [
110-
"{lib, pkgs, config}: ",
110+
"{lib, pkgs, config}: {",
111111
"",
112-
"imports = [",
112+
" imports = [",
113113
" $1",
114-
"];",
114+
" ];",
115115
"",
116-
"options = {",
116+
" options = {",
117117
" $2",
118-
"};",
118+
" };",
119119
"",
120-
"config = {",
120+
" config = {",
121121
" $3",
122+
" };",
122123
"};"
123124
],
124125
"description": "Nix module system template",

0 commit comments

Comments
 (0)