mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-28 09:50:38 +00:00
nixos/polkit: don't enable by default
SUID wrappers really shouldn't be enabled by default, unless a consumer relies on them. So in my opinion this falls upon the desktop environments if needed or a user to explicltly enable this if wanted. Most desktop environments and services like CUPS already enable polkit by default, that should really be sufficient.
This commit is contained in:
parent
071dbeb56d
commit
a813be071c
@ -721,6 +721,14 @@
|
|||||||
<literal>tmux</literal>.
|
<literal>tmux</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The polkit service, available at
|
||||||
|
<literal>security.polkit.enable</literal>, is now disabled by
|
||||||
|
default. It will automatically be enabled through services and
|
||||||
|
desktop environments as needed.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
@ -245,4 +245,6 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||||||
|
|
||||||
- `programs.tmux` has a new option `plugins` that accepts a list of packages from the `tmuxPlugins` group. The specified packages are added to the system and loaded by `tmux`.
|
- `programs.tmux` has a new option `plugins` that accepts a list of packages from the `tmuxPlugins` group. The specified packages are added to the system and loaded by `tmux`.
|
||||||
|
|
||||||
|
- The polkit service, available at `security.polkit.enable`, is now disabled by default. It will automatically be enabled through services and desktop environments as needed.
|
||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
@ -12,11 +12,7 @@ in
|
|||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
security.polkit.enable = mkOption {
|
security.polkit.enable = mkEnableOption "polkit";
|
||||||
type = types.bool;
|
|
||||||
default = true;
|
|
||||||
description = "Whether to enable PolKit.";
|
|
||||||
};
|
|
||||||
|
|
||||||
security.polkit.extraConfig = mkOption {
|
security.polkit.extraConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
Loading…
Reference in New Issue
Block a user