1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00
home-manager/tests/modules/programs/autorandr/scale.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

26 lines
479 B
Nix

{
programs.autorandr = {
enable = true;
profiles = {
default = {
fingerprint.DP1 = "XXX";
config.DP1 = {
scale = {
x = 2;
y = 4;
};
};
};
};
};
nmt.script = ''
config=home-files/.config/autorandr/default/config
assertFileExists $config
assertFileContent $config \
${builtins.toFile "scale-expected.conf" ''
output DP1
scale 2x4''}
'';
}