Compare commits

..

No commits in common. "8ffe055df8132c86664afa0d68d158607b400be7" and "2809c01b203cac50608662952e0ace66431e0694" have entirely different histories.

2 changed files with 15 additions and 14 deletions

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
name: Checkout repository
- name: Attic login
run: attic login nixfleet http://sisko.wg.aciceri.dev:8081 ${{secrets.ATTIC_NIXFLEET_TOKEN}}
run: attic login nixfleet http://10.100.0.1:8081 ${{secrets.ATTIC_NIXFLEET_TOKEN}}
- name: Build with nix
run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true
- name: Report checks

View file

@ -1,16 +1,17 @@
{ config, lib, ... }:
{
services.zerotierone = {
enable = true;
joinNetworks = [ "632ea29085af0cb4" ];
};
environment =
if (config.networking.hostName == "sisko") then
{
persistence."/persist".directories = [
"/var/lib/zerotier-one"
];
}
else
{ };
config = lib.mkMerge [
{
services.zerotierone = {
enable = true;
joinNetworks = [ "632ea29085af0cb4" ];
};
}
(lib.mkIf (config.networking.hostName == "sisko") {
environment.persistence."/persist".directories = [
"/var/lib/zerotier-one"
];
})
];
}