From c33907ff8b1110cea71fe2644f1d361b34623bec Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Mon, 23 Dec 2024 17:49:17 +0300 Subject: [PATCH] chore: Use latest talosctl (#58) Use latest talosctl --- flake.lock | 19 ++++++++++++++++++- flake.nix | 14 ++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index c0b62920..70b393a7 100644 --- a/flake.lock +++ b/flake.lock @@ -40,7 +40,8 @@ "inputs": { "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", - "systems": "systems" + "systems": "systems", + "unstableNixpkgs": "unstableNixpkgs" } }, "systems": { @@ -57,6 +58,22 @@ "repo": "default", "type": "github" } + }, + "unstableNixpkgs": { + "locked": { + "lastModified": 1734649271, + "narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 8d31df06..7ddda154 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,6 @@ { inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + inputs.unstableNixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.systems.url = "github:nix-systems/default"; inputs.flake-utils = { url = "github:numtide/flake-utils"; @@ -7,7 +8,12 @@ }; outputs = - { nixpkgs, flake-utils, ... }: + { + nixpkgs, + unstableNixpkgs, + flake-utils, + ... + }: flake-utils.lib.eachDefaultSystem ( system: let @@ -15,6 +21,10 @@ system = "${system}"; config.allowUnfree = true; }; + unstablePkgs = import unstableNixpkgs { + system = "${system}"; + config.allowUnfree = true; + }; in { formatter = pkgs.nixfmt-rfc-style; @@ -27,7 +37,7 @@ pkgs.just pkgs.gh - pkgs.talosctl + unstablePkgs.talosctl pkgs.kubectl pkgs.kubernetes-helm pkgs.kustomize