about summary refs log tree commit diff stats
path: root/modules/by-name/wa/waydroid/module.nix
blob: 58bce7d1564184234663462e05cc95eaa6f8c6e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.waydroid;
in {
  options.soispha.waydroid = {
    enable = lib.mkEnableOption "waydroid";
  };
  config = lib.mkIf cfg.enable {
    # FIXME: Running `waydroid session start` causes all fuse mounts instances to coredump <2023-09-02>
    #        Thus this setting must be false.
    virtualisation.waydroid.enable = false;
    soispha.impermanence.directories = [
      "/var/lib/waydroid"
    ];
  };
}