2020-07-29 22:29:51 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
{
|
2020-07-29 22:29:51 +02:00
|
|
|
config = {
|
|
|
|
programs.waybar = {
|
2021-09-26 11:08:45 +02:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@waybar@"; };
|
2020-07-29 22:29:51 +02:00
|
|
|
enable = true;
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertPathNotExists home-files/.config/waybar/config
|
|
|
|
assertPathNotExists home-files/.config/waybar/style.css
|
|
|
|
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/systemd/user/waybar.service \
|
|
|
|
${./systemd-with-graphical-session-target.service}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|