chore: initial commit, move from loreddev/x

Moved the source code to a new repository outside from loreddev/x. To
see the commit history before this commit, see
1f823aa099
This commit is contained in:
Guz
2025-01-29 11:24:10 -03:00
commit 8f3245684b
33 changed files with 4101 additions and 0 deletions

36
flake.nix Normal file
View File

@@ -0,0 +1,36 @@
{
description = "My development environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {nixpkgs, ...}: let
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system: let
pkgs = import nixpkgs {inherit system;};
in
f system pkgs);
in {
devShells = forAllSystems (system: pkgs: {
default = pkgs.mkShell {
CGO_ENABLED = "0";
hardeningDisable = ["all"];
buildInputs = with pkgs; [
# Go tools
go
gofumpt
golangci-lint
golines
gotools
delve
];
};
});
};
}