mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add shell.nix file-template
This commit is contained in:
@ -62,6 +62,7 @@ don't have a :trigger property in `+file-templates-alist'.")
|
||||
;; Markdown
|
||||
(markdown-mode)
|
||||
;; Nix
|
||||
("/shell\\.nix$" :trigger "__shell.nix")
|
||||
(nix-mode)
|
||||
;; Org
|
||||
("/README\\.org$"
|
||||
|
@ -0,0 +1,9 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
${0:`%`}
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user