fork/home-manager
git clone https://git.julia.blue/fork/home-manager
69696fe5
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7home . stateVersion = "22.11" ; 8 9programs . wlogout = { 10package = config . lib . test . mkStubPackage { outPath = "@wlogout@" ; }; 11enable = true ; 12layout = [{ 13label = "shutdown" ; 14action = "systemctl poweroff" ; 15text = "Shutdown" ; 16keybind = "s" ; 17}]; 18}; 19 20nmt . script = '' 21assertPathNotExists home-files/.config/wlogout/style.css 22assertFileContent \ 23home-files/.config/wlogout/layout \ 24${ ./layout-single-expected.json } 25'' ; 26}; 27}