move podman policy to home manager config, add arch btw
This commit is contained in:
parent
866b518111
commit
e9e3eea3d0
3 changed files with 19 additions and 27 deletions
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
"default": [
|
|
||||||
{
|
|
||||||
"type": "reject"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"transports": {
|
|
||||||
"docker-daemon": {
|
|
||||||
"": [
|
|
||||||
{
|
|
||||||
"type": "insecureAcceptAnything"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"docker": {
|
|
||||||
"docker.io/library/debian": [
|
|
||||||
{
|
|
||||||
"type": "insecureAcceptAnything"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
./git.nix
|
./git.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./niri.nix
|
./niri.nix
|
||||||
|
./podman.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
|
|
@ -83,10 +84,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
"policy.json" = {
|
|
||||||
target = ".config/containers/policy.json";
|
|
||||||
text = builtins.readFile ./.config/containers/policy.json;
|
|
||||||
};
|
|
||||||
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
|
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
18
homeConfigurations/muede/podman.nix
Normal file
18
homeConfigurations/muede/podman.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
services.podman = {
|
||||||
|
settings = {
|
||||||
|
policy = {
|
||||||
|
default = [ { type = "reject"; } ];
|
||||||
|
transports = {
|
||||||
|
docker-daemon = {
|
||||||
|
"" = [ { type = "insecureAcceptAnything"; } ];
|
||||||
|
};
|
||||||
|
docker = {
|
||||||
|
"docker.io/library/debian" = [ { type = "insecureAcceptAnything"; } ];
|
||||||
|
"docker.io/library/rust" = [ { type = "insecureAcceptAnything"; } ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue