Initial commit
This commit is contained in:
16
modules/hm/docker.nix
Normal file
16
modules/hm/docker.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
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}}}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user