Rootless podman, finally

This commit is contained in:
rotterdam 2023-04-26 11:31:00 -03:00
parent 3b5889e181
commit 1dfbc1384f
4 changed files with 12 additions and 2 deletions

View file

@ -8,6 +8,7 @@
./networking.nix
./nix.nix
./packages.nix
./security.nix
./services.nix
./users.nix
./virtualisation.nix

View file

@ -0,0 +1,5 @@
{ inputs, config, pkgs, lib, ... }:
{
security.unprivilegedUsernsClone = true; # Needed for rootless podman
}

View file

@ -1,5 +1,9 @@
{ inputs, config, pkgs, lib, ... }:
{
virtualisation.podman.enable = true;
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings = { dns_enabled = true; };
};
}

View file

@ -5,7 +5,7 @@
bazarr = {
enable = true;
user = "user";
group = "hosted";
group = "user";
};
jackett.enable = true;