fix templates
This commit is contained in:
parent
9e21298f1d
commit
fd7e98aa15
1 changed files with 2 additions and 2 deletions
4
.vscode/nixmodule.code-snippets
vendored
4
.vscode/nixmodule.code-snippets
vendored
|
@ -12,7 +12,7 @@
|
||||||
" cfg = config.mySystem.${1:moduleName};",
|
" cfg = config.mySystem.${1:moduleName};",
|
||||||
"in",
|
"in",
|
||||||
"{",
|
"{",
|
||||||
" options.${1:moduleName} = {",
|
" options.mySystem.${1:moduleName} = {",
|
||||||
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
||||||
" };",
|
" };",
|
||||||
"",
|
"",
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
" cfg = config.myHome.programs.${1:moduleName};",
|
" cfg = config.myHome.programs.${1:moduleName};",
|
||||||
"in",
|
"in",
|
||||||
"{",
|
"{",
|
||||||
" options.${1:moduleName} = {",
|
" options.myHome.programs.${1:moduleName} = {",
|
||||||
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
||||||
" };",
|
" };",
|
||||||
"",
|
"",
|
||||||
|
|
Loading…
Reference in a new issue