From 6edaa0381daa36344ba1025632489c7d730b783f Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Fri, 10 May 2024 19:26:16 -0400 Subject: [PATCH] clean up flake inputs --- flake.lock | 73 +++++++++++------------------------------------------- flake.nix | 6 ++++- 2 files changed, 19 insertions(+), 60 deletions(-) diff --git a/flake.lock b/flake.lock index ed9cd3b..6294f59 100644 --- a/flake.lock +++ b/flake.lock @@ -3,8 +3,12 @@ "deploy-rs": { "inputs": { "flake-compat": "flake-compat", - "nixpkgs": "nixpkgs", - "utils": "utils" + "nixpkgs": [ + "nixpkgs" + ], + "utils": [ + "flake-utils" + ] }, "locked": { "lastModified": 1711973905, @@ -38,7 +42,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems_2" + "systems": "systems" }, "locked": { "lastModified": 1710146030, @@ -92,18 +96,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1702272962, - "narHash": "sha256-D+zHwkwPc6oYQ4G3A1HuadopqRwUY/JkMwHz1YF7j4Q=", + "lastModified": 1715218190, + "narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d", + "rev": "9a9960b98418f8c385f52de3b09a63f9c561427a", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" + "id": "nixpkgs", + "ref": "nixos-23.11", + "type": "indirect" } }, "nixpkgs-stable": { @@ -122,28 +125,13 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1715218190, - "narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "9a9960b98418f8c385f52de3b09a63f9c561427a", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.11", - "type": "indirect" - } - }, "root": { "inputs": { "deploy-rs": "deploy-rs", "flake-utils": "flake-utils", "home-manager": "home-manager", "impermanence": "impermanence", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", "sops-nix": "sops-nix" } }, @@ -182,39 +170,6 @@ "repo": "default", "type": "github" } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index fd70fe5..3c3d90a 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,11 @@ inputs = { nixpkgs.url = "nixpkgs/nixos-23.11"; flake-utils.url = github:numtide/flake-utils; - deploy-rs.url = github:serokell/deploy-rs; + deploy-rs = { + url = github:serokell/deploy-rs; + inputs.utils.follows = "flake-utils"; + inputs.nixpkgs.follows = "nixpkgs"; + }; home-manager = { url = github:nix-community/home-manager/release-23.11; inputs.nixpkgs.follows = "nixpkgs";