parent
77b8ce89c8
commit
8466ffcfb7
1 changed files with 16 additions and 0 deletions
16
modules/podman.nix
Normal file
16
modules/podman.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.pc = {
|
||||
virtualisation = {
|
||||
oci-containers.backend = "podman";
|
||||
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.${config.flake.meta.owner.username}.extraGroups = [ "podman" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue