mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
users/kat/dev: cookiecutters + function
This commit is contained in:
parent
5af29443b3
commit
5ffbba0424
2 changed files with 12 additions and 1 deletions
11
users/kat/dev/cookiecutter.nix
Normal file
11
users/kat/dev/cookiecutter.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ cookiecutter ];
|
||||
|
||||
programs.zsh.initExtra = ''
|
||||
katenv () {
|
||||
cookiecutter cookiecutters --directory $1
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./packages.nix ];
|
||||
imports = [ ./packages.nix ./cookiecutter.nix ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue