Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: introduce system.nixosLabel support #10996

Merged
merged 2 commits into from
Jan 9, 2016
Merged

Commits on Nov 12, 2015

  1. Configuration menu
    Copy the full SHA
    732eb3c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2016

  1. nixos: introduce system.nixosLabel option and use it where appropriate

    Setting nixosVersion to something custom is useful for meaningful GRUB
    menus and /nix/store paths, but actuallly changing it rebulids the
    whole system path (because of `nixos-version` script and manual
    pages). Also, changing it is not a particularly good idea because you
    can then be differentitated from other NixOS users by a lot of
    programs that read /etc/os-release.
    
    This patch introduces an alternative option that does all you want
    from nixosVersion, but rebuilds only the very top system level and
    /etc while using your label in the names of system /nix/store paths,
    GRUB and other boot loaders' menus, getty greetings and so on.
    oxij committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    119c8f9 View commit details
    Browse the repository at this point in the history