Files
FxNet/modules/hm/docker.nix
2025-09-01 14:21:12 +03:00

17 lines
425 B
Nix

{
osConfig,
lib,
...
}:
{
home.file = lib.mkIf (osConfig.networking.hostName != "fenixpc") {
fenixpcDockerContext = {
enable = true;
target = ".docker/contexts/meta/02db303260eb60b1d5cf88ef7f50e894d1573f2beafe3551def02353d6982a0c/meta.json";
text = ''
{"Name":"fenixpc","Metadata":{},"Endpoints":{"docker":{"Host":"tcp://192.168.1.2:2375","SkipTLSVerify":true}}}
'';
};
};
}