diff --git a/flake.lock b/flake.lock index 26542a8..afc3b8b 100644 --- a/flake.lock +++ b/flake.lock @@ -246,6 +246,22 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1720031269, + "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nur": { "locked": { "lastModified": 1720302358, @@ -303,6 +319,7 @@ "nixgl": "nixgl", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", + "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur", "pre-commit-hooks": "pre-commit-hooks" } diff --git a/flake.nix b/flake.nix index 3b9b71e..0d2fbbd 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; flake-compat.url = "github:nix-community/flake-compat"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; @@ -74,6 +75,7 @@ outputs = { self, nixpkgs, + nixpkgs-unstable, agenix, deploy-rs, flake-utils, @@ -110,6 +112,10 @@ btrfs-auto-snapshot = super.callPackage ./pkgs/btrfs-auto-snapshot.nix {}; nicer = super.callPackage ./pkgs/nicer.nix {}; + pkgs-unstable = import nixpkgs-unstable { + inherit (super) system; + }; + crossArm64 = import nixpkgs { system = "x86_64-linux"; hostPlatform.config = "aarch64-linux"; diff --git a/shared/home/default.nix b/shared/home/default.nix index 8b77dc5..0b98e00 100644 --- a/shared/home/default.nix +++ b/shared/home/default.nix @@ -72,7 +72,7 @@ in { (lib.mkIf devTools [ go_1_22 go-tools - zig_0_12 + pkgs-unstable.zig_0_13 ]) (lib.mkIf hmOnly [