Add podman btrfs
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
imports = [ inputs.quadlet-nix.nixosModules.quadlet ];
|
||||
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
oci-containers.backend = "podman";
|
||||
podman.enable = true;
|
||||
|
||||
containers = {
|
||||
enable = true;
|
||||
storage.settings.storage.driver = "btrfs";
|
||||
};
|
||||
|
||||
oci-containers.backend = "podman";
|
||||
};
|
||||
|
||||
environment = {
|
||||
|
@@ -9,10 +9,15 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.persistence."/persist"."${home}/.local/share/containers" = { };
|
||||
|
||||
home-manager.users.${user} = {
|
||||
imports = [ inputs.quadlet-nix.homeManagerModules.quadlet ];
|
||||
|
||||
services.podman.enable = true;
|
||||
services.podman = {
|
||||
enable = true;
|
||||
settings.storage.storage.driver = "btrfs";
|
||||
};
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
|
Reference in New Issue
Block a user