mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
astroid: only generate poll.sh when script provided
Don't need to generate the file if the user hasn't configured script.
This commit is contained in:
parent
a99c12d23e
commit
fcdd04e0f9
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ in {
|
||||||
xdg.configFile."astroid/config".source =
|
xdg.configFile."astroid/config".source =
|
||||||
jsonFormat.generate "astroid-config" finalConfig;
|
jsonFormat.generate "astroid-config" finalConfig;
|
||||||
|
|
||||||
xdg.configFile."astroid/poll.sh" = {
|
xdg.configFile."astroid/poll.sh" = lib.mkIf (cfg.pollScript != "") {
|
||||||
executable = true;
|
executable = true;
|
||||||
text = ''
|
text = ''
|
||||||
# Generated by Home Manager
|
# Generated by Home Manager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue