From 771f7c72fd1f1236031751048861550c694c796c Mon Sep 17 00:00:00 2001 From: nsfisis <54318333+nsfisis@users.noreply.github.com> Date: Sun, 27 Apr 2025 13:47:46 +0900 Subject: Initial commit --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..c47487a --- /dev/null +++ b/flake.nix @@ -0,0 +1,14 @@ +{ + description = "My personal NUR repository"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + outputs = { self, nixpkgs }: + let + forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed; + in + { + legacyPackages = forAllSystems (system: import ./default.nix { + pkgs = import nixpkgs { inherit system; }; + }); + packages = forAllSystems (system: nixpkgs.lib.filterAttrs (_: v: nixpkgs.lib.isDerivation v) self.legacyPackages.${system}); + }; +} -- cgit v1.2.3-70-g09d2