fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
master
1{ config , pkgs , ...} : 2 3{ 4config = { 5programs . autorandr = { 6enable = true ; 7profiles = { 8default = { 9fingerprint . DP1 = "XXX" ; 10config . DP1 = { 11scale = { 12x = 2 ; 13y = 4 ; 14}; 15}; 16}; 17}; 18}; 19 20test . stubs . autorandr = { }; 21 22nmt . script = '' 23config =home-files/.config/autorandr/default/config 24 25assertFileExists $ config 26assertFileContent $ config \ 27${ 28pkgs . writeText "scale-expected.conf" '' 29output DP1 30scale 2x4'' 31} 32'' ; 33}; 34}