1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/satty/basic-configuration.nix
Gautham Venkataraman 8af2e064f9 satty: add satty to program modules
Add satty, a wlroots based screenshot annotation tool, to the programs
module.
2025-08-19 06:12:13 -05:00

26 lines
520 B
Nix

{
programs.satty = {
enable = true;
settings = {
general = {
fullscreen = true;
corner-roundness = 12;
initial-tool = "brush";
output-filename = "/tmp/test.png";
};
font.family = "Roboto";
color-palette.palette = [ "#00ffff" ];
};
};
nmt.script =
let
configFile = "home-files/.config/satty/config.toml";
in
''
assertFileExists "${configFile}"
assertFileContent "${configFile}" ${./expected-config.toml}
'';
}