feat(file-templates): add Nix flake file template

This commit is contained in:
Kiana Sheibani 2024-07-22 13:34:08 -04:00
parent 4fb75bf17b
commit a0c0c8994c
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,17 @@
# -*- mode: snippet -*-
# contributor: Kiana Sheibani <kiana.a.sheibani@gmail.com>
# key: __flake.nix
# name: nix flake template
# --
{
description = "${1:Flake description}";
inputs = {
${2:nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
}${3:flake-utils.url = "github:numtide/flake-utils";
}$4
};
outputs = { self$5, ... }:
$0
}

View file

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# contributor: Kiana Sheibani
# contributor: Kiana Sheibani <kiana.a.sheibani@gmail.com>
# key: __
# name: Snippet template
# --