summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2025-01-08 19:10:22 +0000
committerEmily <vcs@emily.moe>2025-01-08 20:55:26 +0000
commit0ef91bc148dc1873cdc21d8efbe3c65f91db311a (patch)
tree6c6d307137719f75c1ff095bda1785642bfeb33c /flake.nix
parentba9b3173b0f642ada42b78fb9dfc37ca82266f6c (diff)
flake: pin Nixpkgs explicitly
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 2c1ae1b..92569fa 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,10 @@
{
description = "A collection of darwin modules";
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ };
+
outputs = { self, nixpkgs }: let
forAllSystems = nixpkgs.lib.genAttrs [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ];
forDarwinSystems = nixpkgs.lib.genAttrs [ "aarch64-darwin" "x86_64-darwin" ];