mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/xss-lock: remove startx warning
This warning is based on a misconception: xss-lock, as most user services, just require access to the shell environment variables, which for `startx` have to be imported manually.
This commit is contained in:
parent
7456bebb2e
commit
967a4ba52b
1 changed files with 0 additions and 5 deletions
|
@ -49,10 +49,5 @@ in
|
||||||
);
|
);
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
|
|
||||||
warnings = lib.mkIf (config.services.xserver.displayManager.startx.enable) [
|
|
||||||
"xss-lock service only works if a displayManager is set; it doesn't work when services.xserver.displayManager.startx.enable = true"
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue