1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00
home-manager/tests/modules/services/remmina/default-config.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

21 lines
521 B
Nix

{ config, ... }:
{
xdg.mimeApps.enable = true;
services.remmina = {
enable = true;
package = config.lib.test.mkStubPackage { };
};
nmt.script = ''
serviceFile='./home-files/.config/systemd/user/remmina.service'
assertFileExists $serviceFile
assertFileRegex $serviceFile 'ExecStart=.*--icon'
mimetypeFile='./home-files/.local/share/mime/packages/application-x-rdp.xml'
assertFileExists $mimetypeFile
assertFileRegex $mimetypeFile '<mime-type type="application/x-rdp">'
'';
}