Skip to content

feat: Adding flag for using sudo instead of root userΒ #446

@NikOverflow

Description

@NikOverflow

The Problem

When installing NixOS to a remote server, one may use a minimal ISO, which disables root login for security reasons. In this case, nixos-anywhere will always fail, even when the remote sudo binary can be used.

Proposed Solution

Similar to how nix build does it, a --use-remote-sudo flag could be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions