diff options
| -rw-r--r-- | default.nix | 8 | ||||
| -rw-r--r-- | flake.lock | 17 | ||||
| -rw-r--r-- | flake.nix | 2 |
3 files changed, 11 insertions, 16 deletions
diff --git a/default.nix b/default.nix index dafe54f..235d4e5 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,9 @@ let lock = builtins.readFile ./flake.lock |> builtins.fromJSON; - defaultNixpkgs = builtins.fetchGit { - url = "https://github.com/NixOS/nixpkgs"; - shallow = true; - inherit (lock.nodes.nixpkgs.locked) rev; - inherit (lock.nodes.nixpkgs.original) ref; + defaultNixpkgs = builtins.fetchTarball { + inherit (lock.nodes.nixpkgs.locked) url; + sha256 = lock.nodes.nixpkgs.locked.narHash; }; disko = builtins.fetchTarball { @@ -23,18 +23,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1781074563, - "narHash": "sha256-md8WlXOlfnIeHeOScMTTHFyf2d6iaTwPl2apR5EQ3P4=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "9ae611a455b90cf061d8f332b977e387bda8e1ca", - "type": "github" + "lastModified": 1790822859, + "narHash": "sha256-VBA0QerzzmL+4wxgtwiCdiLwLpJg2/9xOxhgO3BRJQA=", + "rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa", + "type": "tarball", + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1083223.c59305bab206/nixexprs.tar.zst" }, "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst" } }, "root": { @@ -1,7 +1,7 @@ { description = "Personal monorepo"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; disko.url = "github:nix-community/disko/latest"; disko.inputs.nixpkgs.follows = "nixpkgs"; |
