Compare commits
2 commits
2809c01b20
...
8ffe055df8
Author | SHA1 | Date | |
---|---|---|---|
8ffe055df8 | |||
6067499083 |
2 changed files with 14 additions and 15 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://10.100.0.1:8081 ${{secrets.ATTIC_NIXFLEET_TOKEN}}
|
run: attic login nixfleet http://sisko.wg.aciceri.dev: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,17 +1,16 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkMerge [
|
services.zerotierone = {
|
||||||
{
|
enable = true;
|
||||||
services.zerotierone = {
|
joinNetworks = [ "632ea29085af0cb4" ];
|
||||||
enable = true;
|
};
|
||||||
joinNetworks = [ "632ea29085af0cb4" ];
|
environment =
|
||||||
};
|
if (config.networking.hostName == "sisko") then
|
||||||
|
{
|
||||||
}
|
persistence."/persist".directories = [
|
||||||
(lib.mkIf (config.networking.hostName == "sisko") {
|
"/var/lib/zerotier-one"
|
||||||
environment.persistence."/persist".directories = [
|
];
|
||||||
"/var/lib/zerotier-one"
|
}
|
||||||
];
|
else
|
||||||
})
|
{ };
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue