Skip to content

Commit

Permalink
nixos/sssd remove redundant condition
Browse files Browse the repository at this point in the history
This is all inside a global cfg.enable conditional, so we don't need to
check here again.
  • Loading branch information
flokli committed May 11, 2020
1 parent 4a69bf2 commit 90bc3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/sssd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ in {
mode = "0400";
};

system.nssModules = optional cfg.enable pkgs.sssd;
system.nssModules = pkgs.sssd;
system.nssDatabases = {
group = [ "sss" ];
passwd = [ "sss" ];
Expand Down

2 comments on commit 90bc3ec

@delroth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been [ pkgs.sssd ] instead.

@flokli
Copy link
Contributor Author

@flokli flokli commented on 90bc3ec Jun 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right - can you file a PR fixing this (and possibly adding a test)?

Please sign in to comment.