From 06cfef8f7e5e621b98b9a281b04ee0ae63292394 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 9 Jul 2023 12:16:31 -0400 Subject: [PATCH] Cleanup flake.nix --- flake.lock | 62 ++++++++++++++++++++++++++++-------------------------- flake.nix | 10 ++++----- 2 files changed, 37 insertions(+), 35 deletions(-) diff --git a/flake.lock b/flake.lock index 72e8f92..9d0492b 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1688307440, - "narHash": "sha256-7PTjbN+/+b799YN7Tk2SS5Vh8A0L3gBo8hmB7Y0VXug=", + "lastModified": 1688898859, + "narHash": "sha256-NjvwXnMp8oMQ86FHVhzlmgGy2dVDMGVLpZ4+YVsJgMU=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "b06bab83bdf285ea0ae3c8e145a081eb95959047", + "rev": "66a3047fa88eb6aa5c5a2e675de91f0431fbe561", "type": "github" }, "original": { @@ -22,7 +22,9 @@ }, "home-manager": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1687871164, @@ -41,7 +43,7 @@ }, "nix-ld": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs" }, "locked": { "lastModified": 1686849676, @@ -59,37 +61,20 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1686838567, - "narHash": "sha256-aqKCUD126dRlVSKV6vWuDCitfjFrZlkwNuvj5LtjRRU=", + "lastModified": 1688798314, + "narHash": "sha256-MFG5rx7L756rtrPHsL662m64AZ4sKqUcApaiYgSKfNM=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "429f232fe1dc398c5afea19a51aad6931ee0fb89", + "rev": "47dca15d86fdd2eabcf434d7cc0b5baa8d1a463c", "type": "github" }, "original": { "owner": "NixOS", - "ref": "master", "repo": "nixos-hardware", "type": "github" } }, "nixpkgs": { - "locked": { - "lastModified": 1687466461, - "narHash": "sha256-oupXI7g7RPzlpGUfAu1xG4KBK53GrZH8/xeKgKDB4+Q=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "ecb441f22067ba1d6312f4932a7c64efa8d19a7b", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-23.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { "locked": { "lastModified": 1686752049, "narHash": "sha256-GtSbXZ6ia/o+f/I5O/5ee8HGmKuwQWZhtyd2u5y5TOk=", @@ -104,13 +89,29 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs-latest": { "locked": { - "lastModified": 1688389917, - "narHash": "sha256-RKiK1QeommEsjQ8fLgxt4831x9O6n2gD7wAhVZTrr8M=", + "lastModified": 1688918189, + "narHash": "sha256-f8ZlJ67LgEUDnN7ZsAyd1/Fyby1VdOXWg4XY/irSGrQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "aed4b19d312525ae7ca9bceb4e1efe3357d0e2eb", + "rev": "408c0e8c15a1c9cf5c3226931b6f283c9867c484", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1688868408, + "narHash": "sha256-RR9N5XTAxSBhK8MCvLq9uxfdkd7etC//seVXldy0k48=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "510d721ce097150ae3b80f84b04b13b039186571", "type": "github" }, "original": { @@ -126,7 +127,8 @@ "home-manager": "home-manager", "nix-ld": "nix-ld", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_2", + "nixpkgs-latest": "nixpkgs-latest" } } }, diff --git a/flake.nix b/flake.nix index 80b9b64..c7fcb14 100644 --- a/flake.nix +++ b/flake.nix @@ -2,16 +2,16 @@ description = "nixos and macos configurations"; inputs = { - home-manager = { - url = "github:nix-community/home-manager/release-23.05"; - }; - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; + nixpkgs-latest.url = "github:NixOS/nixpkgs/master"; - nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + home-manager.url = "github:nix-community/home-manager/release-23.05"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; nix-ld.url = "github:Mic92/nix-ld"; + nixos-hardware.url = "github:NixOS/nixos-hardware"; + darwin = { url = "github:lnl7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs";