Compare commits
No commits in common. "8ffe055df8132c86664afa0d68d158607b400be7" and "2809c01b203cac50608662952e0ace66431e0694" have entirely different histories.
8ffe055df8
...
2809c01b20
2 changed files with 15 additions and 14 deletions
|
@ -8,7 +8,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
name: Checkout repository
|
name: Checkout repository
|
||||||
- name: Attic login
|
- 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
|
- 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
|
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
|
- name: Report checks
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
services.zerotierone = {
|
config = lib.mkMerge [
|
||||||
enable = true;
|
{
|
||||||
joinNetworks = [ "632ea29085af0cb4" ];
|
services.zerotierone = {
|
||||||
};
|
enable = true;
|
||||||
environment =
|
joinNetworks = [ "632ea29085af0cb4" ];
|
||||||
if (config.networking.hostName == "sisko") then
|
};
|
||||||
{
|
|
||||||
persistence."/persist".directories = [
|
}
|
||||||
"/var/lib/zerotier-one"
|
(lib.mkIf (config.networking.hostName == "sisko") {
|
||||||
];
|
environment.persistence."/persist".directories = [
|
||||||
}
|
"/var/lib/zerotier-one"
|
||||||
else
|
];
|
||||||
{ };
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue