diff --git a/config/nix/flake.lock b/config/nix/flake.lock index ad54e7b3..316bd5fd 100644 --- a/config/nix/flake.lock +++ b/config/nix/flake.lock @@ -1,25 +1,5 @@ { "nodes": { - "darwin": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1707707289, - "narHash": "sha256-YuDt/eSTXMEHv8jS8BEZJgqCcG8Tr3cyqaZjJFXZHsw=", - "owner": "LnL7", - "repo": "nix-darwin", - "rev": "44f50a5ecaab72a61d5fd8e5c5717bc4bf9c25dd", - "type": "github" - }, - "original": { - "owner": "LnL7", - "repo": "nix-darwin", - "type": "github" - } - }, "flake-compat": { "flake": false, "locked": { @@ -202,6 +182,26 @@ "type": "github" } }, + "nix-darwin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1707707289, + "narHash": "sha256-YuDt/eSTXMEHv8jS8BEZJgqCcG8Tr3cyqaZjJFXZHsw=", + "owner": "LnL7", + "repo": "nix-darwin", + "rev": "44f50a5ecaab72a61d5fd8e5c5717bc4bf9c25dd", + "type": "github" + }, + "original": { + "owner": "LnL7", + "repo": "nix-darwin", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1707877513, @@ -236,10 +236,10 @@ }, "root": { "inputs": { - "darwin": "darwin", "flake-utils": "flake-utils", "home-manager": "home-manager", "neovim-nightly-overlay": "neovim-nightly-overlay", + "nix-darwin": "nix-darwin", "nixpkgs": "nixpkgs_2" } }, diff --git a/config/nix/flake.nix b/config/nix/flake.nix index bb10db29..3e949c6f 100644 --- a/config/nix/flake.nix +++ b/config/nix/flake.nix @@ -8,7 +8,7 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - darwin = { + nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -19,7 +19,7 @@ outputs = { nixpkgs, home-manager, - darwin, + nix-darwin, flake-utils, ... } @ inputs: let @@ -71,7 +71,7 @@ value = let pkgs = nixpkgs.legacyPackages.${device.system}; in { - "Uttarayans-MacBook-Pro" = darwin.lib.darwinSystem { + "Uttarayans-MacBook-Pro" = nix-darwin.lib.darwinSystem { modules = [ home-manager.darwinModules.home-manager ./darwin.nix