nixosTests.gnome-flashback: Fix eval

The option `nodes.machine.environment.variables.XDG_CONFIG_DIRS' is defined multiple times while it's expected to be unique.
This commit is contained in:
Bobby Rong 2023-10-06 11:40:20 +08:00
parent 7131f3c223
commit fc096a6d9c
No known key found for this signature in database

View file

@ -307,10 +307,9 @@ in
gnome-flashback
] ++ map gnome-flashback.mkSystemdTargetForWm flashbackWms;
# gnome-panel needs these for menu applet
environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.gnome.gnome-flashback}/share" ];
# TODO: switch to sessionVariables (resolve conflict)
environment.variables.XDG_CONFIG_DIRS = [ "${pkgs.gnome.gnome-flashback}/etc/xdg" ];
environment.systemPackages = with pkgs.gnome; [
gnome-flashback
];
})
(mkIf serviceCfg.core-os-services.enable {