my-nixpkgs/flake.nix
Jenmin Suen 02dc79ba3e
hello-zmsun: init
output.overlays: list -> attr
2025-10-06 13:16:46 +08:00

17 lines
458 B
Nix

{
description = "My personal nix packages";
inputs.nixpkgs.url = "https://mirrors.cernet.edu.cn/nix-channels/nixos-unstable/nixexprs.tar.xz";
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
myPkgs = import ./overlays/my-pkgs.nix;
pkgs = import nixpkgs {
inherit system;
overlays = [ myPkgs ];
};
in {
overlays = { inherit myPkgs; };
packages.${system} = pkgs // { default = pkgs.hello-zmsun; };
};
}