diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml new file mode 100644 index 0000000..6705af0 --- /dev/null +++ b/.gitea/workflows/checks.yaml @@ -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 diff --git a/flake.lock b/flake.lock index b811452..f990ca1 100644 --- a/flake.lock +++ b/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" } diff --git a/flake.nix b/flake.nix index 04a618b..4f3f410 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }); - }; + }); }