Skip to content

Commit

Permalink
Fix incorrect condition in the startup module (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kareem-Medhat authored Mar 30, 2024
1 parent fb4a1cd commit 25b222a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/startup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ in
dataFile = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
default = { };
description = "Datafiles, typically for use from autstart scripts.";
description = "Datafiles, typically for use in autostart scripts.";
};
scriptsDir = lib.mkOption {
type = lib.types.str;
Expand All @@ -44,7 +44,7 @@ in
};

config = lib.mkIf
(cfg.enable && builtins.length (builtins.attrNames cfg.startup) != 0)
(cfg.enable && builtins.length (builtins.attrNames cfg.startup.autoStartScript) != 0)
{
xdg.dataFile = lib.mkMerge [
# Autostart scripts
Expand Down

0 comments on commit 25b222a

Please sign in to comment.