fork/home-manager
git clone https://git.julia.blue/fork/home-manager
95b95b14
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7xsession = { 8enable = true ; 9windowManager . command = "window manager command" ; 10importedVariables = [ "EXTRA_IMPORTED_VARIABLE" ]; 11initExtra = "init extra commands" ; 12profileExtra = "profile extra commands" ; 13}; 14 15nixpkgs . overlays = [ 16( self :super :{ 17xorg = super . xorg // { 18setxkbmap = super . xorg . setxkbmap // { outPath = "@setxkbmap@" ; }; 19}; 20}) 21]; 22 23nmt . script = '' 24assertFileExists home-files/.xprofile 25assertFileContent \ 26home-files/.xprofile \ 27${ ./basic-xprofile-expected.txt } 28 29assertFileExists home-files/.xsession 30assertFileContent \ 31home-files/.xsession \ 32${ ./basic-xsession-expected.txt } 33 34assertFileExists home-files/.config/systemd/user/setxkbmap.service 35assertFileContent \ 36home-files/.config/systemd/user/setxkbmap.service \ 37${ ./basic-setxkbmap-expected.service } 38'' ; 39}; 40}