56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"Full lux module": {
|
|
"prefix": "luxmod",
|
|
"description": "Full lux module (NixOS and Home Manager)",
|
|
"body": [
|
|
"{ inputs, ... }:",
|
|
"{",
|
|
" lux.${1:moduleName} = {",
|
|
" nixos = { config, lib, pkgs, ... }: {",
|
|
" $2",
|
|
" };",
|
|
"",
|
|
" homeManager = { config, lib, pkgs, ... }: {",
|
|
" $3",
|
|
" };",
|
|
" };",
|
|
"}"
|
|
]
|
|
},
|
|
"Lux NixOS module": {
|
|
"prefix": "luxnixos",
|
|
"description": "Lux NixOS-only module",
|
|
"body": [
|
|
"{ inputs, ... }:",
|
|
"{",
|
|
" lux.${1:moduleName}.nixos = { config, lib, pkgs, ... }: {",
|
|
" $0",
|
|
" };",
|
|
"}"
|
|
]
|
|
},
|
|
"Lux Home Manager module": {
|
|
"prefix": "luxhm",
|
|
"description": "Lux Home Manager-only module",
|
|
"body": [
|
|
"{ inputs, ... }:",
|
|
"{",
|
|
" lux.${1:moduleName}.homeManager = { config, lib, pkgs, ... }: {",
|
|
" $0",
|
|
" };",
|
|
"}"
|
|
]
|
|
},
|
|
"Den inline aspect": {
|
|
"prefix": "denaspect",
|
|
"description": "Den inline aspect",
|
|
"body": [
|
|
"(",
|
|
" { host, user, ... }: {",
|
|
" $0",
|
|
" }",
|
|
")"
|
|
]
|
|
}
|
|
}
|