Skip to content

Commit

Permalink
Only add sudo with insults for non tiny PCs
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 2, 2024
1 parent 6ebc9f4 commit d5d59df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/nixos/security/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

security = {
polkit.enable = true;
sudo.package = pkgs.sudo.override { withInsults = true; };
sudo.package =
if config.tinypc.enable then pkgs.sudo else pkgs.sudo.override { withInsults = true; };
};
}

0 comments on commit d5d59df

Please sign in to comment.