1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-07 09:31:04 +01:00

waybar: use config.wayland.systemd.target

Also add `ConditionEnvironment`.
This commit is contained in:
Thiago Kenji Okada 2024-12-31 10:00:57 +00:00 committed by Robert Helgesson
parent 89fe48b1c1
commit 8587c2ff0e
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
7 changed files with 12 additions and 19 deletions

View file

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{ config, ... }:
{
config = {

View file

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{ config, ... }:
{
config = {

View file

@ -1,7 +1,5 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "21.11";

View file

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{ config, ... }:
{
config = {

View file

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{ config, ... }:
{
config = {

View file

@ -8,7 +8,8 @@ KillMode=mixed
Restart=on-failure
[Unit]
After=graphical-session-pre.target
After=sway-session.target
ConditionEnvironment=WAYLAND_DISPLAY
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki
PartOf=graphical-session.target
PartOf=sway-session.target