aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--shell.nix14
2 files changed, 16 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 92e4994..83d6eeb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,4 +9,6 @@ please notify the maintainer @AUTplayed via a mention (like used here with the @
Also, in case of adding new dependencies, please notify @AUTplayed and @m1m3-50.
+For nix-users: We include a nix-shell for development :-)
+
Thanks
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..7bf3c65
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,14 @@
+{
+ pkgs ? import /run/nixpkgs {},
+ lib ? pkgs.lib,
+ ...
+}:
+
+with lib;
+
+pkgs.mkShell {
+ buildInputs = with pkgs; [ bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps shellcheck xorg.xdpyinfo xorg.xrandr xorg.xset ];
+ shellHooks = ''
+ alias i3lock="i3lock-color"
+ '';
+}