mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-02-22 16:07:10 +01:00
policy.json in extra file, default to reject
This commit is contained in:
parent
b143437c89
commit
87b5b7ab00
16
home/vinzenz/.config/containers/policy.json
Normal file
16
home/vinzenz/.config/containers/policy.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "reject"
|
||||
}
|
||||
],
|
||||
"transports": {
|
||||
"docker-daemon": {
|
||||
"": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -48,22 +48,7 @@ inputs@{ pkgs, ... }:
|
|||
|
||||
home.file."policy.json" = {
|
||||
target = ".config/containers/policy.json";
|
||||
text = ''
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
],
|
||||
"transports":
|
||||
{
|
||||
"docker-daemon":
|
||||
{
|
||||
"": [{"type":"insecureAcceptAnything"}]
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
text = builtins.readFile ./.config/containers/policy.json;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue