DON'T start wallfly if you're not logged in...
This commit is contained in:
parent
ee9e3281d6
commit
ae318bf499
|
@ -54,9 +54,9 @@ in {
|
||||||
nixpkgs.overlays = [ wallfly-overlay ];
|
nixpkgs.overlays = [ wallfly-overlay ];
|
||||||
|
|
||||||
systemd.user.services.wallfly = {
|
systemd.user.services.wallfly = {
|
||||||
enable = true;
|
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
|
requires = [ "graphical-session.target" ];
|
||||||
path = with pkgs; [ nettools xprintidle ];
|
path = with pkgs; [ nettools xprintidle ];
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in New Issue