Skip to content

Flag to enable flakes right away #12

Open
@BentonEdmondson

Description

My configuration is a flake. Can you add a flag or something to enable flakes in configuration.nix right away? You just need to add

nix.package = nixUnstable;
nix.extraOptions = "experimental-features = nix-command flakes";

This way I can go straight to git clone ... . and sudo nixos-rebuild switch --flake .#host without worrying about enabling flakes.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions