Add shell.nix file-template
This commit is contained in:
parent
d45b9348c0
commit
5662b2c4b3
2 changed files with 10 additions and 0 deletions
|
@ -62,6 +62,7 @@ don't have a :trigger property in `+file-templates-alist'.")
|
||||||
;; Markdown
|
;; Markdown
|
||||||
(markdown-mode)
|
(markdown-mode)
|
||||||
;; Nix
|
;; Nix
|
||||||
|
("/shell\\.nix$" :trigger "__shell.nix")
|
||||||
(nix-mode)
|
(nix-mode)
|
||||||
;; Org
|
;; Org
|
||||||
("/README\\.org$"
|
("/README\\.org$"
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
with pkgs;
|
||||||
|
|
||||||
|
mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
${0:`%`}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue