fork/home-manager
git clone https://git.julia.blue/fork/home-manager
98282a48
master
1{ config , ...} : 2 3{ 4services . swayosd = { 5enable = true ; 6package = config . lib . test . mkStubPackage { 7name = "swayosd" ; 8outPath = "@swayosd@" ; 9}; 10maxVolume = 10 ; 11}; 12 13nmt . script = '' 14assertFileContent \ 15home-files/.config/systemd/user/swayosd.service \ 16${ 17builtins . toFile "swayosd.service" '' 18[Install] 19WantedBy=graphical-session.target 20 21[Service] 22ExecStart=@swayosd@/bin/swayosd --max-volume 10 23Restart=always 24Type=simple 25 26[Unit] 27After=graphical-session.target 28ConditionEnvironment=WAYLAND_DISPLAY 29Description=Volume/backlight OSD indicator 30Documentation=man:swayosd(1) 31PartOf=graphical-session.target 32'' 33} 34'' ; 35}