17 lines
287 B
Nix
17 lines
287 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
flake.modules.nixos.pc = {
|
||
|
virtualisation = {
|
||
|
oci-containers.backend = "podman";
|
||
|
|
||
|
podman = {
|
||
|
enable = true;
|
||
|
dockerCompat = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
users.users.${config.flake.meta.owner.username}.extraGroups = [ "podman" ];
|
||
|
};
|
||
|
}
|