29 lines
551 B
Text
29 lines
551 B
Text
{
|
|
description = "Nix on Debian config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
system = "aarch64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in {
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
git
|
|
curl
|
|
];
|
|
};
|
|
|
|
packages.${system}.default = pkgs.buildEnv {
|
|
name = "my-env";
|
|
paths = [
|
|
pkgs.htop
|
|
pkgs.jq
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|