From 1a3c8f7cf016749f6ac784364e0fdba14f36ffa6 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sun, 31 Dec 2023 00:02:43 +0100 Subject: [PATCH] add sys flake --- modules/nix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/nix/default.nix b/modules/nix/default.nix index dd40a30..8c24779 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -28,7 +28,11 @@ in { home-manager.flake = self.inputs.home-manager; nixos-hardware.flake = self.inputs.nixos-hardware; nur.flake = self.inputs.nur; - nixpkgs.flake = self.inputs.nixpkgs; + sys.flake = self; + nixpkgs.to = { + type = "path"; + path = pkgs.path; + }; }; nixPath = [ "nixpkgs=${self.inputs.nixpkgs}"