clean up
This commit is contained in:
parent
60776e90c0
commit
65d6b2bd5a
1 changed files with 0 additions and 32 deletions
32
.vscode/module.code-snippets
vendored
32
.vscode/module.code-snippets
vendored
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"nix-module": {
|
||||
"prefix": "nm",
|
||||
"body": [
|
||||
"{ lib",
|
||||
", config",
|
||||
", pkgs",
|
||||
", ...",
|
||||
"}:",
|
||||
"with lib;",
|
||||
"let",
|
||||
" cfg = config.mySystem.${1}.${2};",
|
||||
" app = \"${3}\"",
|
||||
" appFolder = \"apps/${app}\";",
|
||||
" persistentFolder = \"${config.mySystem.persistentFolder}/${appFolder}\";",
|
||||
" user = app;",
|
||||
" group = app;",
|
||||
"in",
|
||||
"{",
|
||||
" options.mySystem.${1}.${2}.enable = mkEnableOption \"${4}\";",
|
||||
"",
|
||||
" config = mkIf cfg.enable {",
|
||||
"",
|
||||
" $5",
|
||||
"",
|
||||
" };",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"description": "nix-module"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue