nixos-config/templates/basic-overlay-flake/flake.nix
2022-09-01 10:01:15 +08:00

18 lines
504 B
Nix

{
description = ''
Basic flake template for an overlay with flake and traditional channels.
'';
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, ... }:
let systems = inputs.flake-utils.lib.defaultSystems;
in inputs.flake-utils.lib.eachSystem systems (system: {
devShells.default =
import ./shell.nix { pkgs = import nixpkgs { inherit system; }; };
});
}