machines: add local discovery option

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-02 11:01:40 +03:00
parent d7db72d1cd
commit 15aab14759
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
3 changed files with 12 additions and 9 deletions

View file

@ -10,7 +10,6 @@
../modules/fonts.nix ../modules/fonts.nix
../modules/gnupg.nix ../modules/gnupg.nix
../modules/nix.nix ../modules/nix.nix
../modules/ipfs.nix
../modules/garbage-collector.nix ../modules/garbage-collector.nix
../modules/networking.secret.nix ../modules/networking.secret.nix
]; ];
@ -60,5 +59,11 @@
# Enable the Docker # Enable the Docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Enable ipfs
services.kubo = {
enable = true;
localDiscovery = true;
};
local.nix.enableMyRegistry = true; local.nix.enableMyRegistry = true;
} }

View file

@ -10,7 +10,6 @@
../modules/fonts.nix ../modules/fonts.nix
../modules/gnupg.nix ../modules/gnupg.nix
../modules/nix.nix ../modules/nix.nix
../modules/ipfs.nix
../modules/garbage-collector.nix ../modules/garbage-collector.nix
../modules/networking.secret.nix ../modules/networking.secret.nix
]; ];
@ -79,5 +78,11 @@
# Enable the Docker # Enable the Docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Enable ipfs
services.kubo = {
enable = true;
localDiscovery = true;
};
local.nix.enableMyRegistry = true; local.nix.enableMyRegistry = true;
} }

View file

@ -1,7 +0,0 @@
{ ... }:
{
services.kubo = {
enable = true;
};
}