From 159daf0630c479b5f9bf405cd6e5efb17babe9e8 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Mon, 25 May 2026 08:17:19 +0000 Subject: [PATCH] Move from legacyPackages to proper import --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b3a784e..8ac4e48 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,9 @@ }; homeConfigurations."artem@deimos" = home-manager.lib.homeManagerConfiguration { - pkgs = nixpkgs.legacyPackages.x86_64-linux; + pkgs = import nixpkgs { + system = "x86_64-linux"; + }; extraSpecialArgs.primaryUser = "artem"; modules = [ inputs.fw_nix.nixosModules.identities @@ -75,7 +77,9 @@ }; homeConfigurations."artem@mars" = home-manager.lib.homeManagerConfiguration { - pkgs = nixpkgs.legacyPackages.x86_64-darwin; + pkgs = import nixpkgs { + system = "x86_64-darwin"; + }; extraSpecialArgs = { primaryUser = "artem"; };