2024-04-19 17:16:42 +02:00
|
|
|
{ config, ... }: {
|
|
|
|
xdg.mimeApps.enable = true;
|
|
|
|
|
|
|
|
services.remmina = {
|
|
|
|
enable = true;
|
|
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
|
|
|
|
addRdpMimeTypeAssoc = false;
|
|
|
|
systemdService = {
|
|
|
|
enable = true;
|
|
|
|
startupFlags = [ "--icon" "--enable-extra-hardening" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
serviceFile='./home-files/.config/systemd/user/remmina.service'
|
|
|
|
|
|
|
|
assertFileExists $serviceFile
|
|
|
|
assertFileRegex $serviceFile 'ExecStart=.*/bin/dummy'
|
2024-09-08 09:55:05 +02:00
|
|
|
assertFileRegex $serviceFile "dummy --icon --enable-extra-hardening"
|
2024-04-19 17:16:42 +02:00
|
|
|
|
|
|
|
mimetypeFile='./home-files/.local/share/mime/packages/application-x-rdp.xml'
|
|
|
|
|
|
|
|
assertPathNotExists $mimetypeFile
|
|
|
|
'';
|
|
|
|
}
|