aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.nix34
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 \$ '
+ '';
+}