fork/home-manager
git clone https://git.julia.blue/fork/home-manager
f092a922
master
1{ config , pkgs , ...} : 2 3let 4inherit ( pkgs . stdenv . hostPlatform ) isDarwin ; 5 6path = if isDarwin then 7"Library/Application Support/rio/config.toml" 8else 9".config/rio/config.toml" ; 10 11expected = pkgs . writeText "rio-expected.toml" '' 12cursor = "_" 13padding-x = 0 14performance = "Low" 15'' ; 16in { 17programs . rio = { 18enable = true ; 19package = config . lib . test . mkStubPackage { }; 20 21settings = { 22cursor = "_" ; 23performance = "Low" ; 24padding-x = 0 ; 25}; 26}; 27 28nmt . script = '' 29assertFileExists home-files/" ${ path } " 30assertFileContent home-files/" ${ path } " ' ${ expected } ' 31'' ; 32}