Created
August 1, 2023 12:48
-
-
Save drupol/5843847dc0a013a6752b9cfcd33c836e to your computer and use it in GitHub Desktop.
Example flake.nix for N.L.
This file contains 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
{ | |
description = "My custom shell env"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
}; | |
outputs = inputs@{ flake-parts, ... }: | |
flake-parts.lib.mkFlake { inherit inputs; } { | |
systems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; | |
perSystem = { config, self', inputs', pkgs, system, ... }: { | |
devShells.default = pkgs.mkShell { | |
nativeBuildInputs = with pkgs; [ | |
antibody | |
tmux | |
stow | |
glibcLocales | |
fzf | |
zsh | |
ripgrep | |
]; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment