users/kat/dev: cookiecutters + function

This commit is contained in:
kat witch 2021-05-13 16:29:40 +01:00
parent 5af29443b3
commit 5ffbba0424
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [ cookiecutter ];
programs.zsh.initExtra = ''
katenv () {
cookiecutter cookiecutters --directory $1
}
'';
}

View file

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./packages.nix ];
imports = [ ./packages.nix ./cookiecutter.nix ];
}