summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-10 08:56:11 -0500
committerseth <[email protected]>2023-12-11 08:44:48 -0500
commitad840d3fab4d2e8dc27d265bbc0a08ed7e85c3a5 (patch)
tree2db39df327e5b9621fd41f1d8d1a8ac3dac8ceb6 /flake.nix
parent8ac8de2593a9f5e3c160f95358b4db75d3a04640 (diff)
ci: use gha & attic for building/caching
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 7c1896d..2ab5ea7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,8 +2,8 @@
description = "getchoo's flake for system configurations";
nixConfig = {
- extra-substituters = ["https://cache.garnix.io"];
- extra-trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
+ extra-substituters = ["https://cache.mydadleft.me/getchoo"];
+ extra-trusted-public-keys = ["getchoo:rH35+W+4SV7UV9RTr69LwkH7b24Djui2ZQIQvPxzJCg="];
};
inputs = {
@@ -95,6 +95,11 @@
};
};
+ nix2workflow = {
+ url = "github:getchoo/nix2workflow";
+ inputs.nixpkgs-lib.follows = "nixpkgs";
+ };
+
nixinate = {
url = "github:MatthewCroughan/nixinate";
inputs.nixpkgs.follows = "nixpkgs";
@@ -143,13 +148,14 @@
parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.pre-commit.flakeModule
+ inputs.nix2workflow.flakeModule
./modules
./overlay
./systems
./users
- ./ci.nix
./dev.nix
+ ./workflow.nix
];
systems = [