mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
Compare commits
4 commits
7c9fdb6719
...
33b2bed5a9
| Author | SHA1 | Date | |
|---|---|---|---|
| 33b2bed5a9 | |||
| 6c3a9ef924 | |||
| 0d261200ff | |||
| 49c9cf1cfe |
4 changed files with 14 additions and 15 deletions
8
.github/workflows/ci.yml
vendored
8
.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 "✅ ${{ matrix.server }} deployed $expected_sha"
|
echo "Deployed $expected_sha"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "⏳ ${{ matrix.server }}: deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
echo "Deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
||||||
sleep 5
|
sleep 10
|
||||||
done
|
done
|
||||||
notify:
|
notify:
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
1
README.md
Normal file
1
README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
[](https://github.com/SebastianStork/nixos-config/actions/workflows/ci.yml)
|
||||||
|
|
@ -36,4 +36,13 @@ in
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
|
networking = {
|
||||||
|
useNetworkd = true;
|
||||||
|
useDHCP = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.resolved.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,11 +40,6 @@ 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}" = {
|
||||||
|
|
@ -59,12 +54,6 @@ 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