diff --git a/dhall/flake.lock b/dhall/flake.lock index 4947ae6..bac57b3 100644 --- a/dhall/flake.lock +++ b/dhall/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/dhall/flake.nix b/dhall/flake.nix index c6d2530..00359b0 100644 --- a/dhall/flake.nix +++ b/dhall/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Dhall development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; dhall = pkgs.dhall; diff --git a/elixir/flake.lock b/elixir/flake.lock index 4947ae6..bac57b3 100644 --- a/elixir/flake.lock +++ b/elixir/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/elixir/flake.nix b/elixir/flake.nix index 1fd681e..2edc723 100644 --- a/elixir/flake.nix +++ b/elixir/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Elixir development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/flake.lock b/flake.lock index 4947ae6..623eab4 100644 --- a/flake.lock +++ b/flake.lock @@ -17,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1659259892, - "narHash": "sha256-ZLqbL2SE3kNUyO15uIqtqmp9XfVMV1FZ7F4vjSJGl9c=", + "lastModified": 1659264167, + "narHash": "sha256-5w5j5xaTX+yNAaYjl2sIB35LWSoDpU0wnxHVx8Kzsro=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d0617b0846cdf6e717f6418adcfe7f834ec20586", + "rev": "3de6a330bcd434d59901c9c7f8fbe252e2207e22", "type": "github" }, "original": { diff --git a/gleam/flake.lock b/gleam/flake.lock index 4947ae6..bac57b3 100644 --- a/gleam/flake.lock +++ b/gleam/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/gleam/flake.nix b/gleam/flake.nix index 9794c36..850ed52 100644 --- a/gleam/flake.nix +++ b/gleam/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Gleam development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; gleamPkg = pkgs.gleam; diff --git a/go1.17/flake.lock b/go1.17/flake.lock index 4947ae6..bac57b3 100644 --- a/go1.17/flake.lock +++ b/go1.17/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/go1.17/flake.nix b/go1.17/flake.nix index 3064f77..376901b 100644 --- a/go1.17/flake.nix +++ b/go1.17/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Go 1.17 development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; goPkg = pkgs.go_1_17; diff --git a/go1.18/flake.lock b/go1.18/flake.lock index 4947ae6..bac57b3 100644 --- a/go1.18/flake.lock +++ b/go1.18/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/go1.18/flake.nix b/go1.18/flake.nix index 5a05234..8829935 100644 --- a/go1.18/flake.nix +++ b/go1.18/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Go 1.18 development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; goPkg = pkgs.go_1_18; diff --git a/java/flake.lock b/java/flake.lock index 4947ae6..bac57b3 100644 --- a/java/flake.lock +++ b/java/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/java/flake.nix b/java/flake.nix index 92c81e4..80e6a70 100644 --- a/java/flake.nix +++ b/java/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Java development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; diff --git a/kotlin/flake.lock b/kotlin/flake.lock index 4947ae6..bac57b3 100644 --- a/kotlin/flake.lock +++ b/kotlin/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/kotlin/flake.nix b/kotlin/flake.nix index 1490627..26bc820 100644 --- a/kotlin/flake.nix +++ b/kotlin/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Kotlin development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; diff --git a/nix/flake.lock b/nix/flake.lock index 4947ae6..bac57b3 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/nix/flake.nix b/nix/flake.nix index ec3a016..93830fe 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Nix development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/node/flake.lock b/node/flake.lock index 4947ae6..bac57b3 100644 --- a/node/flake.lock +++ b/node/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/node/flake.nix b/node/flake.nix index cb21980..47ed2f4 100644 --- a/node/flake.nix +++ b/node/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Node.js development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/protobuf/flake.lock b/protobuf/flake.lock index 4947ae6..bac57b3 100644 --- a/protobuf/flake.lock +++ b/protobuf/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/protobuf/flake.nix b/protobuf/flake.nix index 28ecf8c..35f33ed 100644 --- a/protobuf/flake.nix +++ b/protobuf/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Protobuf development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; inherit (pkgs) buf protobuf; diff --git a/rust/flake.lock b/rust/flake.lock index a1cada0..3e01c34 100644 --- a/rust/flake.lock +++ b/rust/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -63,8 +82,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", + "dev": "dev", "rust-overlay": "rust-overlay" } }, diff --git a/rust/flake.nix b/rust/flake.nix index 7602efa..9b58b86 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -2,13 +2,14 @@ description = "A Nix-flake-based Rust development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; rust-overlay.url = "github:oxalica/rust-overlay"; }; - outputs = { self, nixpkgs, flake-utils, rust-overlay }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev, rust-overlay }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let overlays = [ (import rust-overlay) ]; diff --git a/scala/flake.lock b/scala/flake.lock index 4947ae6..bac57b3 100644 --- a/scala/flake.lock +++ b/scala/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/scala/flake.nix b/scala/flake.nix index e5e0e10..435e1ff 100644 --- a/scala/flake.nix +++ b/scala/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Scala development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; jdkPkg = pkgs.${jdk}; diff --git a/zig/flake.lock b/zig/flake.lock index 4947ae6..bac57b3 100644 --- a/zig/flake.lock +++ b/zig/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "dev": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1659264500, + "narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=", + "owner": "the-nix-way", + "repo": "dev-templates", + "rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842", + "type": "github" + }, + "original": { + "owner": "the-nix-way", + "repo": "dev-templates", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1656928814, @@ -32,8 +51,7 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "dev": "dev" } } }, diff --git a/zig/flake.nix b/zig/flake.nix index 577051a..afe65ae 100644 --- a/zig/flake.nix +++ b/zig/flake.nix @@ -2,12 +2,13 @@ description = "A Nix-flake-based Zig development environment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; + dev.url = "github:the-nix-way/dev-templates"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, dev }: + let + inherit (dev.lib) flake-utils nixpkgs; + in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; zigPkg = pkgs.zig;