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 = {
|
2021-11-18 23:59:20 +01:00
|
|
|
home.stateVersion = "21.11";
|
|
|
|
|
2020-07-29 22:29:51 +02:00
|
|
|
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}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|