diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-11-21 16:08:45 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-11-21 16:08:45 -0500 |
commit | 4f370f23ab975f8e584c625af37292e2716c5082 (patch) | |
tree | b9252a6272fb4f4396f712bac50bcf3e0ffffcaa | |
parent | 24a5072acdc232a67305bba5fd29b6817c905f5e (diff) | |
download | edwinmattiacci.com-4f370f23ab975f8e584c625af37292e2716c5082.tar.gz edwinmattiacci.com-4f370f23ab975f8e584c625af37292e2716c5082.tar.bz2 edwinmattiacci.com-4f370f23ab975f8e584c625af37292e2716c5082.zip |
shell.nix: Add
-rw-r--r-- | shell.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..13ea4b1 --- /dev/null +++ b/shell.nix @@ -0,0 +1,34 @@ +let + + name = "nix-shell.edwinmattiacci"; + + pkgs = import (builtins.fetchTarball { + url = "https://releases.nixos.org/nixos/22.05/nixos-22.05.998.d17a56d90ec/nixexprs.tar.xz"; + sha256 = "084dzb7fmchfhhflrgprjjv7qz3j7vxw3d01f82q8p4g1x7hzn36"; + }) { }; + + mkShellPure = pkgs.callPackage (pkgs.fetchurl { + url = "https://raw.githubusercontent.com/tdro/dotfiles/b710281b132056105709c03dda1899a6afc68a93/.config/nixpkgs/helpers/mkShellPure.nix"; + sha256 = "1ciwifsx2hrp0ymm077zfb5q8ravrk545bda1q249y2spw9np4ms"; + }) { }; + + +in mkShellPure { + + packages = [ + pkgs.bash + pkgs.coreutils + pkgs.findutils + pkgs.gawk + pkgs.gnumake + pkgs.gnused + pkgs.hugo + pkgs.minify + pkgs.rsync + pkgs.sqlite + ]; + + shellHook = '' + export PS1='\h (${name}) \W \$ ' + ''; +} |