nixTrustWheel does disabled is not recognized when building on host system #21

Open
opened 2026-03-18 11:50:03 -07:00 by kaitotlex · 0 comments
Owner

DOES NOT WORK

nixTrustWheel = lib.mkOption {
      type = lib.types.bool;
      default = cfg.disable;
      description = ''
        Whether to allow any user in the group `wheel` to manipulate the Nix store.

        WARNING: Enabling this option is equivalent to passwordless sudo, so any process running as your user can escalate to root at any time.
      '';
    };

PROPOSED FIX

nixTrustWheel = lib.mkOption {
      type = lib.types.bool;
      default = !cfg.nixSaneDefaults;
      description = ''
        Whether to allow any user in the group `wheel` to manipulate the Nix store.

        WARNING: Enabling this option is equivalent to passwordless sudo, so any process running as your user can escalate to root at any time.
      '';
    };
**DOES NOT WORK** ``` nix nixTrustWheel = lib.mkOption { type = lib.types.bool; default = cfg.disable; description = '' Whether to allow any user in the group `wheel` to manipulate the Nix store. WARNING: Enabling this option is equivalent to passwordless sudo, so any process running as your user can escalate to root at any time. ''; }; ``` **PROPOSED FIX** ``` nix nixTrustWheel = lib.mkOption { type = lib.types.bool; default = !cfg.nixSaneDefaults; description = '' Whether to allow any user in the group `wheel` to manipulate the Nix store. WARNING: Enabling this option is equivalent to passwordless sudo, so any process running as your user can escalate to root at any time. ''; }; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
functor.systems/functorOS#21
No description provided.