Last active
December 20, 2025 14:31
-
-
Save masamerc/ccc764945c6f76388f40a93aaf96f722 to your computer and use it in GitHub Desktop.
A good starter dev shell template flake.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = | |
| { nixpkgs, flake-utils, ... }: | |
| flake-utils.lib.eachDefaultSystem ( | |
| system: | |
| let | |
| pkgs = nixpkgs.legacyPackages.${system}; | |
| in | |
| { | |
| devShells.default = pkgs.mkShell { | |
| packages = [ | |
| pkgs.cowsay | |
| pkgs.git | |
| pkgs.uv | |
| pkgs.nushell | |
| ]; | |
| # if you use zsh, uncomment the following block | |
| # shellHook = '' | |
| # zsh | |
| # ''; | |
| }; | |
| } | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment