fork/home-manager
git clone https://git.julia.blue/fork/home-manager
3c18113b
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6services . mpd = { 7enable = true ; 8extraArgs = [ "--verbose" ]; 9}; 10 11home . stateVersion = "18.09" ; 12 13test . stubs . mpd = { }; 14 15nmt . script = '' 16serviceFile = $( normalizeStorePaths home-files/.config/systemd/user/mpd.service) 17assertFileContent " $ serviceFile " ${ ./basic-configuration.service } 18 19confFile = $( grep -o \ 20'/nix/store/.*-mpd.conf' \ 21$ TESTED /home-files/.config/systemd/user/mpd.service) 22 23assertFileContains \ 24" $ confFile " \ 25'music_directory "/home/hm-user/music"' 26'' ; 27}