We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94db50b commit 983e586Copy full SHA for 983e586
snippets/nix.json
@@ -107,18 +107,19 @@
107
"module": {
108
"prefix": "module";
109
"body": [
110
- "{lib, pkgs, config}: ",
+ "{lib, pkgs, config}: {",
111
"",
112
- "imports = [",
+ " imports = [",
113
" $1",
114
- "];",
+ " ];",
115
116
- "options = {",
+ " options = {",
117
" $2",
118
- "};",
+ " };",
119
120
- "config = {",
+ " config = {",
121
" $3",
122
123
"};"
124
],
125
"description": "Nix module system template",
0 commit comments