forked from clan/clan-infra
add ci to the preo
This commit is contained in:
parent
edd6df5b58
commit
a3e71ae2ed
11
.gitea/workflows/checks.yaml
Normal file
11
.gitea/workflows/checks.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
name: checks
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: main
|
||||
jobs:
|
||||
test:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: nix run --refresh github:Mic92/nix-fast-build/ae50c356c2f9e790f3d9d8e00bfa9f4b54f49bdd
|
11
flake.lock
11
flake.lock
@ -19,16 +19,15 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694703716,
|
||||
"narHash": "sha256-J1nyeRArZlQPAnmJ1suKrhYOgVEixNGeqbpVTI+gilE=",
|
||||
"ref": "lassulus-pass-secrets",
|
||||
"rev": "1c07f990a89edfd3f268cad4155f29b86a554484",
|
||||
"revCount": 665,
|
||||
"lastModified": 1695123290,
|
||||
"narHash": "sha256-6PgVtU2KruXu8LPVNjk4Obfjk/IRt1ZTwd8VEioQQrM=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "06bb3c52bf18096c38e2747b0ca1c8d2d2273a74",
|
||||
"revCount": 700,
|
||||
"type": "git",
|
||||
"url": "https://git.clan.lol/clan/clan-core"
|
||||
},
|
||||
"original": {
|
||||
"ref": "lassulus-pass-secrets",
|
||||
"type": "git",
|
||||
"url": "https://git.clan.lol/clan/clan-core"
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
# Use the version of nixpkgs that has been tested to work with SrvOS
|
||||
srvos.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
clan-core.url = "git+https://git.clan.lol/clan/clan-core?ref=lassulus-pass-secrets";
|
||||
clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
||||
clan-core.inputs.flake-parts.follows = "flake-parts";
|
||||
clan-core.inputs.nixpkgs.follows = "nixpkgs";
|
||||
clan-core.inputs.treefmt-nix.follows = "treefmt-nix";
|
||||
@ -32,7 +32,7 @@
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
flake-parts.lib.mkFlake { inherit inputs; } ({ self, ... }: {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
@ -44,7 +44,7 @@
|
||||
./modules/flake-module.nix
|
||||
./pkgs/flake-module.nix
|
||||
];
|
||||
perSystem = ({ lib, self', ... }: {
|
||||
perSystem = ({ lib, self', system, ... }: {
|
||||
treefmt = {
|
||||
projectRootFile = ".git/config";
|
||||
programs.terraform.enable = true;
|
||||
@ -65,5 +65,5 @@
|
||||
in
|
||||
nixosMachines // packages // devShells // homeConfigurations;
|
||||
});
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user