diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index 6098332..f82e17a 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -172,6 +172,8 @@ in ]; }; + users.users.podman.uid = cids.uids.podman; + users.groups.podman.gid = cids.gids.podman; users.users.gitea-runner = runner-user; users.groups.gitea-runner = runner-group; diff --git a/hosts/fw.cloonar.com/modules/podman.nix b/hosts/fw.cloonar.com/modules/podman.nix index a8de06d..3d6b49b 100644 --- a/hosts/fw.cloonar.com/modules/podman.nix +++ b/hosts/fw.cloonar.com/modules/podman.nix @@ -1,7 +1,10 @@ { pkgs, ... }: let + cids = import ../modules/staticids.nix; json = pkgs.formats.json { }; in { + users.users.podman.uid = cids.uids.podman; + users.groups.podman.gid = cids.gids.podman; virtualisation = { podman = { enable = true; diff --git a/hosts/fw.cloonar.com/modules/staticids.nix b/hosts/fw.cloonar.com/modules/staticids.nix index f0f101e..12fee94 100644 --- a/hosts/fw.cloonar.com/modules/staticids.nix +++ b/hosts/fw.cloonar.com/modules/staticids.nix @@ -3,10 +3,12 @@ unbound = 10001; gitea = 10002; gitea-runner = 10003; + podman = 10004; }; gids = { unbound = 10001; gitea = 10002; gitea-runner = 10003; + podman = 10004; }; }