From c01e18cec42b8755a3a15ad28cf7056d1dc7383d Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sat, 17 May 2025 09:31:39 +0200 Subject: [PATCH 1/3] CI test --- .forgejo/workflows/build.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3231690..b3bbe4e 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -15,10 +15,7 @@ jobs: echo "${{secrets.FORGEJO_SSH_KEY}}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan github.com >> ~/.ssh/known_hosts - ssh-keyscan sisko.wg.aciceri.dev >> ~/.ssh/known_hosts - # - name: Build with nix (x86_64-linux) - # run: nix-fast-build --no-nom --systems "x86_64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - - name: Build with nix (aarch64-linux) - run: nix-fast-build --no-nom --systems "" --attic-cache "nixfleet" --skip-cached --result-file result.json || true + - name: Build with nix (x86_64-linux) + run: nix-fast-build --no-nom --systems "x86_64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - name: Report checks run: report-checks From afa8f62bb8bc1f49b52f040ef21f4d608a5fe5bf Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sat, 17 May 2025 09:31:39 +0200 Subject: [PATCH 2/3] Run CI only for `x86_64-linux` --- .forgejo/workflows/build.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3231690..b3bbe4e 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -15,10 +15,7 @@ jobs: echo "${{secrets.FORGEJO_SSH_KEY}}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan github.com >> ~/.ssh/known_hosts - ssh-keyscan sisko.wg.aciceri.dev >> ~/.ssh/known_hosts - # - name: Build with nix (x86_64-linux) - # run: nix-fast-build --no-nom --systems "x86_64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - - name: Build with nix (aarch64-linux) - run: nix-fast-build --no-nom --systems "" --attic-cache "nixfleet" --skip-cached --result-file result.json || true + - name: Build with nix (x86_64-linux) + run: nix-fast-build --no-nom --systems "x86_64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - name: Report checks run: report-checks From 69dfaddbf27a7d1da6673afa6b384154814978e3 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sat, 17 May 2025 09:47:19 +0200 Subject: [PATCH 3/3] Add `git` to default packages for `root` --- modules/common/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/common/default.nix b/modules/common/default.nix index 5aa4549..f83e6e4 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -18,9 +18,10 @@ nixpkgs.config.allowUnfree = true; # Forgive me Mr. Stallman :( system.switch.enableNg = true; - environment.systemPackages = [ - pkgs.btop - pkgs.ncdu + environment.systemPackages = with pkgs; [ + btop + ncdu + git ]; # FIXME not the best place