diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c5238ff --- /dev/null +++ b/shell.nix @@ -0,0 +1,24 @@ +let + + pkgs = import <nixpkgs> { }; + name = "nix-shell.hugo-theme-base"; + + mkShellPure = pkgs.callPackage (builtins.fetchurl { + url = "https://raw.githubusercontent.com/tdro/dotfiles/b710281b132056105709c03dda1899a6afc68a93/.config/nixpkgs/helpers/mkShellPure.nix"; + sha256 = "1ciwifsx2hrp0ymm077zfb5q8ravrk545bda1q249y2spw9np4ms"; + }) { }; + +in mkShellPure { + + packages = [ + pkgs.hugo + pkgs.busybox + pkgs.caddy + pkgs.gnumake + pkgs.yj + ]; + + shellHook = '' + export PS1='\h (${name}) \W \$ ' + ''; +} |