From dfc66651ab63858ccbc1c065ca4f68ef0ac7a3a1 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Wed, 6 Apr 2022 19:53:27 -0400 Subject: [PATCH] Update inputs, clean up inputs --- flake.lock | 99 +++++++++++++----------------------------------------- flake.nix | 8 +++++ 2 files changed, 32 insertions(+), 75 deletions(-) diff --git a/flake.lock b/flake.lock index a58cbf7..37acd11 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1646845404, - "narHash": "sha256-JENXFCI2HVqi0whBzt7MAW9PX3ziEaYqBhMux+4g+VM=", + "lastModified": 1648942457, + "narHash": "sha256-i29Z1t3sVfCNfpp+KAfeExvpqHQSbLO1KWylTtfradU=", "owner": "ryantm", "repo": "agenix", - "rev": "764c975e74bce2f89a5106b68ec48e2b586f893c", + "rev": "0d5e59ed645e4c7b60174bc6f6aac6a203dc0b01", "type": "github" }, "original": { @@ -22,8 +22,12 @@ }, "archivebox": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1648612759, @@ -59,8 +63,12 @@ "inputs": { "drastikbot": "drastikbot", "drastikbot_modules": "drastikbot_modules", - "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_2" + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1648509055, @@ -125,48 +133,18 @@ "type": "github" } }, - "flake-utils_2": { - "locked": { - "lastModified": 1648297722, - "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { - "locked": { - "lastModified": 1620759905, - "narHash": "sha256-WiyWawrgmyN0EdmiHyG2V+fqReiVi8bM9cRdMaKQOFg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b543720b25df6ffdfcf9227afafc5b8c1fabfae8", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "nixpkgs": { "locked": { - "lastModified": 1638239011, - "narHash": "sha256-AjhmbT4UBlJWqxY0ea8a6GU2C2HdKUREkG43oRr3TZg=", + "lastModified": 1649117019, + "narHash": "sha256-ID7nw/8MDgqj/cbJ0wy6AtQ9wp58hSnE6+weZwuHnso=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31", + "rev": "ccb90fb9e11459aeaf83cc28d5f8910816d90dd0", "type": "github" }, "original": { "owner": "NixOS", - "ref": "21.11", + "ref": "nixos-21.11", "repo": "nixpkgs", "type": "github" } @@ -186,41 +164,11 @@ "type": "indirect" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1638239011, - "narHash": "sha256-AjhmbT4UBlJWqxY0ea8a6GU2C2HdKUREkG43oRr3TZg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "21.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1646675913, - "narHash": "sha256-ZvGf51XpXM7JojKLZ5yI0XLUq8UOFX6AwZ3bhtdcpIo=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "9b1c7ba323732ddc85a51850a7f10ecc5269b8e9", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-21.11", - "repo": "nixpkgs", - "type": "github" - } - }, "radio": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": [ + "flake-utils" + ], "nixpkgs": [ "nixpkgs" ] @@ -261,7 +209,8 @@ "agenix": "agenix", "archivebox": "archivebox", "dailybuild_modules": "dailybuild_modules", - "nixpkgs": "nixpkgs_3", + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs", "radio": "radio", "radio-web": "radio-web", "simple-nixos-mailserver": "simple-nixos-mailserver" diff --git a/flake.nix b/flake.nix index 135de0b..5471b87 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11"; + flake-utils.url = "github:numtide/flake-utils"; + # mail server simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.11"; simple-nixos-mailserver.inputs.nixpkgs.follows = "nixpkgs"; @@ -14,13 +16,19 @@ # radio radio.url = "git+https://git.neet.dev/zuckerberg/radio.git?ref=main"; radio.inputs.nixpkgs.follows = "nixpkgs"; + radio.inputs.flake-utils.follows = "flake-utils"; radio-web.url = "git+https://git.neet.dev/zuckerberg/radio-web.git"; radio-web.flake = false; # drastikbot dailybuild_modules.url = "git+https://git.neet.dev/zuckerberg/dailybuild_modules.git"; + dailybuild_modules.inputs.nixpkgs.follows = "nixpkgs"; + dailybuild_modules.inputs.flake-utils.follows = "flake-utils"; + # archivebox archivebox.url = "git+https://git.neet.dev/zuckerberg/archivebox.git"; + archivebox.inputs.nixpkgs.follows = "nixpkgs"; + archivebox.inputs.flake-utils.follows = "flake-utils"; }; outputs = inputs: {