fork/home-manager
git clone https://git.julia.blue/fork/home-manager
eec22729
master
1{ config , pkgs , ...} : 2 3{ 4imports = [ ./sway-stubs.nix ]; 5 6wayland . windowManager . sway = { 7enable = true ; 8package = config . lib . test . mkStubPackage { outPath = "@sway@" ; }; 9# overriding findutils causes issues 10config = { 11menu = " ${ pkgs . dmenu } /bin/dmenu_run" ; 12 13input = { "*" = { xkb_variant = "dvorak" ; }; }; 14output = { "HDMI-A-2" = { bg = "~/path/to/background.png fill" ; }; }; 15seat = { "*" = { hide_cursor = "when-typing enable" ; }; }; 16}; 17}; 18 19nmt . script = '' 20assertFileExists home-files/.config/sway/config 21assertFileContent $( normalizeStorePaths home-files/.config/sway/config) \ 22${ ./sway-modules.conf } 23'' ; 24}