diff options
| author | adikro <adikro@disroot.org> | 2026-05-18 15:25:50 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-05-18 15:25:50 +0200 |
| commit | c6b6a3e6c702834eac2b633db2ed4c397b4ae113 (patch) | |
| tree | 4ec03c63fac3c7d0e7caea31cbe9ec1317df8c2f /os/srv/oci.nix | |
| parent | 62b7ca3cdfff5182daad7f4092b6861bbc93f04c (diff) | |
set up disko, zfs, clamav aide, backup, nfs, zfs for oci and ups
Diffstat (limited to 'os/srv/oci.nix')
| -rw-r--r-- | os/srv/oci.nix | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/os/srv/oci.nix b/os/srv/oci.nix index 0d781a7..ea680fd 100644 --- a/os/srv/oci.nix +++ b/os/srv/oci.nix @@ -10,19 +10,24 @@ in { options.os.srv.oci.enable = lib.mkEnableOption "OCI container support via Podman"; config = lib.mkIf cfg.enable { - virtualisation.podman = { - enable = true; - dockerCompat = true; - defaultNetwork.settings.dns_enabled = true; - autoPrune = { + virtualisation = { + containers = { enable = true; - dates = "weekly"; - flags = [ "--all" ]; + storage.settings.driver = "zfs"; }; + podman = { + enable = true; + dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; + autoPrune = { + enable = true; + dates = "weekly"; + flags = [ "--all" ]; + }; + }; + oci-containers.backend = "podman"; }; - virtualisation.oci-containers.backend = "podman"; - environment.systemPackages = with pkgs; [ podman-tui podman-compose |
