diff options
| author | nsfisis <54318333+nsfisis@users.noreply.github.com> | 2025-04-27 13:47:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-27 13:47:46 +0900 |
| commit | 771f7c72fd1f1236031751048861550c694c796c (patch) | |
| tree | f2b74712b9b3c064bbc435e14a889825e67a82d4 /flake.nix | |
| download | nur-packages-771f7c72fd1f1236031751048861550c694c796c.tar.gz nur-packages-771f7c72fd1f1236031751048861550c694c796c.tar.zst nur-packages-771f7c72fd1f1236031751048861550c694c796c.zip | |
Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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}); + }; +} |
