diff --git a/flake.lock b/flake.lock index 4b48eb2..395c185 100644 --- a/flake.lock +++ b/flake.lock @@ -18,7 +18,9 @@ }, "fenix": { "inputs": { - "nixpkgs": "nixpkgs_2", + "nixpkgs": [ + "nixpkgs" + ], "rust-analyzer-src": "rust-analyzer-src" }, "locked": { @@ -71,21 +73,6 @@ "type": "github" } }, - "flake-utils_2": { - "locked": { - "lastModified": 1637014545, - "narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -201,16 +188,22 @@ }, "nixpkgs-fmt": { "inputs": { - "fenix": "fenix", - "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_3" + "fenix": [ + "fenix" + ], + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { - "lastModified": 1706820456, - "narHash": "sha256-2UDso6ALCoqVH0Q0boIYRT9NJtto8CECAc+gUIHi1/o=", + "lastModified": 1706847205, + "narHash": "sha256-lkrvtZj4YhRLi6cmIP1dqZmULy3ujTN2hvZKKIYqZLU=", "owner": "rad-development", "repo": "nixpkgs-fmt", - "rev": "a140f110952dc51d9757c2b6f285691f4e454ef9", + "rev": "d83302adb7f6b40a5ed6f91e83af94a6bf83436f", "type": "github" }, "original": { @@ -219,38 +212,9 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1706550542, - "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1637502770, - "narHash": "sha256-C28tuj+AgsRh67iB/Lg9oladquLoC8eamraqndeaO4A=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "f508ae889415b51263ea1c20b6b4c0e0ecbfc0bd", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, "root": { "inputs": { + "fenix": "fenix", "flake-utils": "flake-utils", "home-manager": "home-manager", "mailserver": "mailserver", diff --git a/flake.nix b/flake.nix index 7c796d0..d3ecedc 100644 --- a/flake.nix +++ b/flake.nix @@ -9,16 +9,26 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; systems.url = "github:nix-systems/default"; - nixpkgs-fmt = { - url = "github:rad-development/nixpkgs-fmt"; - inputs.fenix.inputs.nixpkgs.follows = "nixpkgs"; - }; flake-utils = { url = "github:numtide/flake-utils"; inputs.systems.follows = "systems"; }; + fenix = { + url = "github:nix-community/fenix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nixpkgs-fmt = { + url = "github:rad-development/nixpkgs-fmt"; + inputs = { + nixpkgs.follows = "nixpkgs"; + flake-utils.follows = "flake-utils"; + fenix.follows = "fenix"; + }; + }; + nixos-modules = { url = "github:SuperSandro2000/nixos-modules"; inputs = {