From 0dfc8970c8a7fa585d38cc06bb0768160dce80e1 Mon Sep 17 00:00:00 2001 From: Zander Thannhauser Date: Sun, 28 Sep 2025 18:42:08 -0500 Subject: [PATCH] first --- flake.nix | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e24a0e4 --- /dev/null +++ b/flake.nix @@ -0,0 +1,67 @@ + +# vim: set sw=2 ts=2 et: # + +{ + description = "description"; + + inputs.nixpkgs = { url = "github:NixOS/nixpkgs?ref=nixos-25.05"; }; + + inputs.flake-utils.url = "github:numtide/flake-utils"; + + inputs.flake-compat = { + url = "github:edolstra/flake-compat"; + flake = false; + }; + + outputs = { self, nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = import nixpkgs { + inherit system; + + config.allowUnfree = true; + }; in { + devShells.default = + pkgs.mkShell { + buildInputs = with pkgs; [ + file + wget + neofetch + htop + python3 + ]; + }; + + devShells.compiler = + pkgs.mkShell { + buildInputs = with pkgs; [ + gcc + gcc.man + gnumake + python3 + valgrind + linux-manual + man-pages + man-pages-posix + gedit + ]; + }; + }); +} + + + + + + + + + + + + + + + + + +