diff --git a/.vscode/module.code-snippets b/.vscode/module.code-snippets deleted file mode 100644 index 8c47588..0000000 --- a/.vscode/module.code-snippets +++ /dev/null @@ -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" - } -}