馃 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 28 lines 525 B view raw
1{ 2 "mks": { 3 "prefix": "mkshell", 4 "description": "Nix development shell", 5 "body": [ 6 "{ pkgs ? import <nixpkgs> {} }:", 7 "pkgs.mkShell {", 8 " buildInputs = with pkgs; [", 9 " $1", 10 " ];", 11 "}" 12 ] 13 }, 14 "mod": { 15 "prefix": "mod", 16 "description": "Nix module", 17 "body": [ 18 "{ lib, pkgs, config ... }:", 19 "let", 20 " cfg = config.${1};", 21 "in {", 22 " config = lib.mkIf cfg.enable {", 23 " ${2:# code}", 24 " };", 25 "}" 26 ] 27 } 28}