mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 15:38:26 +01:00
Compare commits
No commits in common. "33b2bed5a92148ffa6d11f51ab312d7668e6d421" and "7c9fdb6719515202071abe32dff7adfdccde498c" have entirely different histories.
33b2bed5a9
...
7c9fdb6719
4 changed files with 15 additions and 14 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -130,12 +130,12 @@ jobs:
|
||||||
deployed_sha=$(git ls-remote "$repo_url" "$branch" | cut -f1)
|
deployed_sha=$(git ls-remote "$repo_url" "$branch" | cut -f1)
|
||||||
|
|
||||||
if [[ "$deployed_sha" == "$expected_sha" ]]; then
|
if [[ "$deployed_sha" == "$expected_sha" ]]; then
|
||||||
echo "Deployed $expected_sha"
|
echo "✅ ${{ matrix.server }} deployed $expected_sha"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
echo "⏳ ${{ matrix.server }}: deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
||||||
sleep 10
|
sleep 5
|
||||||
done
|
done
|
||||||
notify:
|
notify:
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
[](https://github.com/SebastianStork/nixos-config/actions/workflows/ci.yml)
|
|
||||||
|
|
@ -36,13 +36,4 @@ in
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
|
||||||
networking = {
|
|
||||||
useNetworkd = true;
|
|
||||||
useDHCP = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.resolved.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,11 @@ in
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
{
|
{
|
||||||
|
networking = {
|
||||||
|
useNetworkd = true;
|
||||||
|
useDHCP = false;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-${cfg.interface}" = {
|
networks."10-${cfg.interface}" = {
|
||||||
|
|
@ -54,6 +59,12 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.resolved = {
|
||||||
|
enable = true;
|
||||||
|
dnssec = "allow-downgrade";
|
||||||
|
dnsovertls = "opportunistic";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.mkIf cfg.wireless.enable {
|
(lib.mkIf cfg.wireless.enable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue