From f598603329e3ea6381c60ebaae9acdbb2df959f3 Mon Sep 17 00:00:00 2001 From: Truxnell <9149206+truxnell@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:48:43 +1100 Subject: [PATCH 1/4] feat: add garnix --- garnix.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 garnix.yaml diff --git a/garnix.yaml b/garnix.yaml new file mode 100644 index 00000000..e5e59347 --- /dev/null +++ b/garnix.yaml @@ -0,0 +1,7 @@ +builds: + include: + - homeConfigurations.* + - nixosConfigurations.* + - packages.x86_64-linux.* + - packages.aarch64-linux.* + \ No newline at end of file From 787c9dc9caafbf3a64f289f5e2a099c138c955a0 Mon Sep 17 00:00:00 2001 From: Truxnell <9149206+truxnell@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:54:22 +1100 Subject: [PATCH 2/4] doc: add garnix badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b96723cc..52597065 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Truxnell's homelab [![NixOS](https://img.shields.io/badge/NixOS-23.11-blue?style=flat&logo=nixos&logoColor=white)](https://nixos.org) +[![built with garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Ftruxnell%2Fnix-config%3Fbranch%3Dmain)](https://garnix.io) + Leveraging nix, nix-os to apply machine and home configurations ## Background From 29c9fedda9d0291605977ce51c5f216dcbb04913 Mon Sep 17 00:00:00 2001 From: Truxnell <9149206+truxnell@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:05:18 +1100 Subject: [PATCH 3/4] docs: add shiny badges --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 52597065..d79bf0ad 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # Truxnell's homelab +[![NixOS](https://img.shields.io/badge/NIXOS-5277C3.svg?style=for-the-badge&logo=NixOS&logoColor=white)](https://nixos.org) [![NixOS](https://img.shields.io/badge/NixOS-23.11-blue?style=flat&logo=nixos&logoColor=white)](https://nixos.org) [![built with garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Ftruxnell%2Fnix-config%3Fbranch%3Dmain)](https://garnix.io) +[![MIT License](https://img.shields.io/github/license/truxnell/nix-config)][mit] Leveraging nix, nix-os to apply machine and home configurations From 03ae24f990068fe3dcc5ee2f699117ea0709171d Mon Sep 17 00:00:00 2001 From: Truxnell <9149206+truxnell@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:07:47 +1100 Subject: [PATCH 4/4] feat: add garnix cache --- nixos/hosts/common/nixos/nix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hosts/common/nixos/nix.nix b/nixos/hosts/common/nixos/nix.nix index eb099667..e1f78777 100644 --- a/nixos/hosts/common/nixos/nix.nix +++ b/nixos/hosts/common/nixos/nix.nix @@ -9,9 +9,11 @@ experimental-features = [ "nix-command" "flakes" ]; substituters = [ "https://nix-community.cachix.org" + "https://cache.garnix.io" ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ]; trusted-users = [ "root" "@wheel" ]; auto-optimise-store = lib.mkDefault true;