1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 13:01:09 +01:00
home-manager/tests/modules/services/jankyborders/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

24 lines
683 B
Nix

{ pkgs, ... }:
{
services.jankyborders = {
enable = true;
settings = {
active_color = "0xffe2e2e3";
hidpi = "off";
inactive_color = "0xff414550";
style = "round";
width = 6.0;
};
};
nmt.script = ''
configFile=home-files/.config/borders/bordersrc
assertFileExists $configFile
assertFileIsExecutable "$configFile"
# assertFileContent $configFile ${./jankyborders-config-expected}
assertFileContent "$configFile" ${pkgs.writeShellScript "bordersrc" (builtins.readFile ./jankyborders-config-expected)}
serviceFile=LaunchAgents/org.nix-community.home.jankyborders.plist
assertFileExists "$serviceFile"
'';
}