From 3e3185f184827058601b2ac47c35f6403e63432c Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Mon, 28 Oct 2024 20:56:56 +0100 Subject: [PATCH] Cleanup dependencies --- flake.lock | 26 ++++++++------------------ flake.nix | 24 ++++++++++++++---------- 2 files changed, 22 insertions(+), 28 deletions(-) diff --git a/flake.lock b/flake.lock index d3b643e..db2e5e2 100644 --- a/flake.lock +++ b/flake.lock @@ -9,7 +9,9 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems" + "systems": [ + "systems" + ] }, "locked": { "lastModified": 1723293904, @@ -211,7 +213,9 @@ }, "flake-utils": { "inputs": { - "systems": "systems_2" + "systems": [ + "systems" + ] }, "locked": { "lastModified": 1726560853, @@ -521,7 +525,8 @@ "nix-straight": "nix-straight", "nixgl": "nixgl", "nixpkgs": "nixpkgs", - "nur": "nur" + "nur": "nur", + "systems": "systems" } }, "rotate-text": { @@ -571,21 +576,6 @@ "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" - } - }, "ts-fold": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 7dc2065..55a6633 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,14 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; + + # Use to clean dependencies + systems.url = "github:nix-systems/default"; + flake-utils = { + url = "github:numtide/flake-utils"; + inputs.systems.follows = "systems"; + }; + nur.url = "github:nix-community/NUR"; home-manager = { @@ -15,6 +22,7 @@ url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.home-manager.follows = "home-manager"; + inputs.systems.follows = "systems"; }; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1"; @@ -28,20 +36,16 @@ }; nix-doom-emacs = { url = "github:nix-community/nix-doom-emacs"; - inputs = { - nix-straight.follows = "nix-straight"; - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; - }; + inputs.nix-straight.follows = "nix-straight"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-utils.follows = "flake-utils"; }; # To use nixos program on others distros nixgl = { url = "github:nix-community/nixGL"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; - }; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-utils.follows = "flake-utils"; }; };