fork/home-manager
git clone https://git.julia.blue/fork/home-manager
25a99483
master
1{ config , lib , pkgs , ...} : 2 3{ 4imports = [ ./sway-stubs.nix ]; 5 6# Enables the default bar configuration 7home . stateVersion = "20.09" ; 8 9wayland . windowManager . sway = { 10enable = true ; 11package = null ; 12config . menu = " ${ pkgs . dmenu } /bin/dmenu_run" ; 13}; 14 15assertions = [{ 16assertion = 17! lib . elem config . wayland . windowManager . sway . config . bars [ [ { } ] [ ] ]; 18message = 19"The default Sway bars configuration should be set for this test (sway-null-package) to work." ; 20}]; 21 22nmt . script = '' 23assertFileExists home-files/.config/sway/config 24assertFileContent $( normalizeStorePaths home-files/.config/sway/config) \ 25${ ./sway-null-package.conf } 26'' ; 27}