2020-10-12 00:22:58 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
{
|
2020-10-12 00:22:58 +00:00
|
|
|
config = {
|
2021-12-03 05:30:34 +00:00
|
|
|
home.stateVersion = "21.11";
|
|
|
|
|
2020-10-12 00:22:58 +00:00
|
|
|
programs.waybar = {
|
2021-11-04 16:42:44 +00:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@waybar@"; };
|
2020-10-12 00:22:58 +00: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}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|