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 ];
|
imports = [ inputs.quadlet-nix.nixosModules.quadlet ];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
containers.enable = true;
|
|
||||||
oci-containers.backend = "podman";
|
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
|
|
||||||
|
containers = {
|
||||||
|
enable = true;
|
||||||
|
storage.settings.storage.driver = "btrfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
oci-containers.backend = "podman";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
@@ -9,10 +9,15 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
environment.persistence."/persist"."${home}/.local/share/containers" = { };
|
||||||
|
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [ inputs.quadlet-nix.homeManagerModules.quadlet ];
|
imports = [ inputs.quadlet-nix.homeManagerModules.quadlet ];
|
||||||
|
|
||||||
services.podman.enable = true;
|
services.podman = {
|
||||||
|
enable = true;
|
||||||
|
settings.storage.storage.driver = "btrfs";
|
||||||
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
Reference in New Issue
Block a user