2022-11-06 11:48:16 +00:00
|
|
|
{
|
|
|
|
description = "My development flake";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
2022-11-06 12:56:42 +00:00
|
|
|
outputs = {
|
|
|
|
self, # instance of self
|
|
|
|
nixpkgs, # nixpkgs flake
|
|
|
|
flake-utils,
|
|
|
|
home-manager,
|
|
|
|
...
|
|
|
|
}: flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let pkgs = nixpkgs.legacyPackages.${system}; in {
|
|
|
|
devShells.default = import ./shell.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
inherit home-manager;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
2022-11-06 11:48:16 +00:00
|
|
|
}
|