From c8f9ca462a5a349be4b925019d815b2a2cf7390e Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Tue, 4 Mar 2025 23:00:13 +0200 Subject: [PATCH] feat: use stable nixos-24.11 branch, configure target systems --- kickstart/flake.lock | 26 +++++++++++++++++++++----- kickstart/flake.nix | 7 ++++--- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/kickstart/flake.lock b/kickstart/flake.lock index d691fc8..df380be 100644 --- a/kickstart/flake.lock +++ b/kickstart/flake.lock @@ -17,16 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1741037377, - "narHash": "sha256-SvtvVKHaUX4Owb+PasySwZsoc5VUeTf1px34BByiOxw=", + "lastModified": 1740932899, + "narHash": "sha256-F0qDu2egq18M3edJwEOAE+D+VQ+yESK6YWPRQBfOqq8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "02032da4af073d0f6110540c8677f16d4be0117f", + "rev": "1546c45c538633ae40b93e2d14e0bb6fd8f13347", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixpkgs-unstable", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } @@ -34,7 +34,23 @@ "root": { "inputs": { "nixCats": "nixCats", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "systems": "systems" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" } } }, diff --git a/kickstart/flake.nix b/kickstart/flake.nix index eb47f27..5b6e7bf 100644 --- a/kickstart/flake.nix +++ b/kickstart/flake.nix @@ -21,8 +21,9 @@ description = "A Lua-natic's neovim flake, with extra cats! nixCats!"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; nixCats.url = "github:BirdeeHub/nixCats-nvim"; + systems.url = "github:nix-systems/default"; # neovim-nightly-overlay = { # url = "github:nix-community/neovim-nightly-overlay"; @@ -41,10 +42,10 @@ }; # see :help nixCats.flake.outputs - outputs = { self, nixpkgs, nixCats, ... }@inputs: let + outputs = { self, nixpkgs, nixCats, systems, ... }@inputs: let inherit (nixCats) utils; luaPath = "${./.}"; - forEachSystem = utils.eachSystem nixpkgs.lib.platforms.all; + forEachSystem = utils.eachSystem (import systems); # the following extra_pkg_config contains any values # which you want to pass to the config set of nixpkgs # import nixpkgs { config = extra_pkg_config; inherit system; }