diff --git a/flake.lock b/flake.lock index 7368de6c..b3ebdcd9 100644 --- a/flake.lock +++ b/flake.lock @@ -11,9 +11,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": [ - "systems" - ] + "systems": "systems" }, "locked": { "lastModified": 1770165109, @@ -166,9 +164,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": [ - "systems" - ] + "systems": "systems_2" }, "locked": { "lastModified": 1765523342, @@ -375,21 +371,38 @@ "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nixpkgs-stable": "nixpkgs-stable", - "systems": "systems", "zx-dev": "zx-dev" } }, "systems": { - "flake": false, "locked": { - "path": "./flake.systems.nix", - "type": "path" + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" }, "original": { - "path": "./flake.systems.nix", - "type": "path" + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" }, - "parent": [] + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } }, "zx-dev": { "inputs": { diff --git a/flake.nix b/flake.nix index 2b49ddb7..21805257 100644 --- a/flake.nix +++ b/flake.nix @@ -4,10 +4,6 @@ nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11"; # General - systems = { - url = "path:./flake.systems.nix"; - flake = false; - }; flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; @@ -17,7 +13,6 @@ inputs.darwin.follows = "nix-darwin"; inputs.home-manager.follows = "home-manager"; inputs.nixpkgs.follows = "nixpkgs"; - inputs.systems.follows = "systems"; }; home-manager = { url = "github:nix-community/home-manager"; @@ -41,7 +36,6 @@ golink = { url = "github:apoxy-dev/golink/dilyevsky/tsnet-1.90-upgrade"; inputs.nixpkgs.follows = "nixpkgs"; - inputs.systems.follows = "systems"; }; zx-dev = { url = "github:stackptr/zx.dev"; @@ -115,15 +109,21 @@ nixConfig = { experimental-features = ["nix-command" "flakes"]; extra-substituters = [ + "https://cache.garnix.io" "https://stackptr.cachix.org" ]; extra-trusted-public-keys = [ + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "stackptr.cachix.org-1:5e2q7OxdRdAtvRmHTeogpgJKzQhbvFqNMmCMw71opZA=" ]; }; }; - systems = import inputs.systems; + systems = [ + "aarch64-darwin" + "aarch64-linux" + "x86_64-linux" + ]; perSystem = { pkgs, inputs', diff --git a/garnix.yaml b/garnix.yaml new file mode 100644 index 00000000..418fa2b5 --- /dev/null +++ b/garnix.yaml @@ -0,0 +1,7 @@ +builds: + include: + - "nixosConfigurations.*" + - "darwinConfigurations.*" + - "devShells.*.*" + - "checks.*.*" + exclude: []