2024-01-03 16:42:10 +08:00
|
|
|
{ pkgs
|
|
|
|
, lib
|
|
|
|
, config
|
|
|
|
, ... }: with lib; let
|
2024-01-07 22:01:31 +08:00
|
|
|
gui = with config.global.gui; ( enable && session );
|
2024-01-03 16:42:10 +08:00
|
|
|
in {
|
|
|
|
users.home.persist.directories = mkIf gui [ ".config/google-chrome" ];
|
|
|
|
security.chromiumSuidSandbox.enable = mkIf gui true;
|
|
|
|
}
|