fork/home-manager
git clone https://git.julia.blue/fork/home-manager
d89bdff4
master
1{ config , lib , 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 . menu = " ${ pkgs . dmenu } /bin/dmenu_run" ; 11config . bindkeysToCode = true ; 12extraConfigEarly = '' 13import $HOME/.cache/wal/colors-sway 14'' ; 15extraConfig = '' 16exec_always pkill flashfocus; flasfocus & 17'' ; 18}; 19 20nmt . script = '' 21assertFileExists home-files/.config/sway/config 22assertFileContent $( normalizeStorePaths home-files/.config/sway/config) \ 23${ ./sway-bindkeys-to-code-and-extra-config.conf } 24'' ; 25}