diff --git a/index.html b/index.html index 2ed4f9391..9946ae0f3 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ -Home Manager Manual

Home Manager Manual


Preface
1. Installing Home Manager
1.1. Standalone installation
1.2. NixOS module
1.3. nix-darwin module
2. Writing Home Manager Modules
2.1. Option Types
3. Contributing
3.1. Getting started
3.2. Guidelines
3.2.1. Maintain backward compatibility
3.2.2. Keep forward compatibility in mind
3.2.3. Add only valuable options
3.2.4. Add relevant tests
3.2.5. Add relevant documentation
3.2.6. Add yourself as a module maintainer
3.2.7. Format your code
3.2.8. Format your commit messages
3.2.9. Format your news entries
3.2.10. Use conditional modules and news
3.2.11. Mind the license
3.3. Commits
3.4. Code Style
3.5. News
3.6. Tests
4. Frequently Asked Questions (FAQ)
4.1. Why is there a collision error when switching generation?
4.2. Why are the session variables not set?
4.3. How to set up a configuration for multiple users/machines?
4.4. Why do I get an error message about ca.desrt.dconf?
4.5. How do I install packages from Nixpkgs unstable?
4.6. How do I override the package used by a module?
A. Configuration Options
B. NixOS Module Options
C. nix-darwin Module Options
D. Tools
home-manager - — reconfigure a user environment
E. Release Notes
E.1. Release 21.05
E.1.1. Highlights
E.1.2. State Version Changes
E.2. Release 20.09
E.2.1. Highlights
E.2.2. State Version Changes
E.3. Release 20.03
E.3.1. Highlights
E.3.2. State Version Changes
E.4. Release 19.09
E.4.1. Highlights
E.4.2. State Version Changes
E.5. Release 19.03
E.5.1. Highlights
E.5.2. State Version Changes
E.6. Release 18.09

Preface

+Home Manager Manual

Home Manager Manual


Preface

This manual will eventually describes how to install, use, and extend Home Manager.

diff --git a/release-notes.html b/release-notes.html index b4d49997d..3e6d11b0d 100644 --- a/release-notes.html +++ b/release-notes.html @@ -23,8 +23,8 @@ derivations. The following configuration is now possible: });

As a result of this change, programs.mpv.package is no longer the resulting derivation. Use the newly introduced programs.mpv.finalPackage instead.

  • -The programs.rofi.extraConfig option is now an attrset rather -than a string. To migrate, move the each line into the attrset, +The programs.rofi.extraConfig option is now an attribute set rather +than a string. To migrate, move each line into the attribute set, removing the rofi. prefix from the keys. For example,

    programs.rofi.extraConfig = ''
       rofi.show-icons: true
    @@ -33,6 +33,28 @@ removing the rofi. prefix from the keys. For exampl
       show-icons = true;
       modi = "drun,emoji,ssh";
     };
  • +The programs.rofi.theme option now supports defining a theme +using an attribute set, the following configuration is now possible: +

    programs.rofi.theme = let
    +  # Necessary to avoid quoting non-string values
    +  inherit (config.lib.formats.rasi) mkLiteral;
    +in {
    +   "@import" = "~/.config/rofi/theme.rasi";
    +
    +  "*" = {
    +    background-color = mkLiteral "#000000";
    +    foreground-color = mkLiteral "rgba ( 250, 251, 252, 100 % )";
    +    border-color = mkLiteral "#FFFFFF";
    +    width = 512;
    +  };
    +
    +  "#textbox-prompt-colon" = {
    +    expand = false;
    +    str = ":";
    +    margin = mkLiteral "0px 0.3em 0em 0em";
    +    text-color = mkLiteral "@foreground-color";
    +  };
    +};
  • The services.redshift.extraOptions and services.gammastep.extraOptions options were removed in favor of services.redshift.settings and services.gammastep.settings, that are now an attribute set rather @@ -62,7 +84,18 @@ configure.packages.*.start -> programs.neovim.plugins = [ { plugin = ...; }] configure.customRC -> programs.neovim.extraConfig

  • Home Manager now respects the NO_COLOR environment variable as per https://no-color.org/. -
  • E.1.2. State Version Changes

    The state version in this release includes the changes below. These +

  • +Qt module now supports qt.style.name to specify a theme name and +qt.style.package to specify a theme package. If you have set +qt.platformTheme to gnome, a qt.style.package compatible +with both Qt and Gtk is now required to be set. For instance: +

    qt = {
    +  platformTheme = "gnome";
    +  style = {
    +    name = "adwaita-dark";
    +    package = pkgs.adwaita-qt;
    +  };
    +};
  • E.1.2. State Version Changes

    The state version in this release includes the changes below. These changes are only active if the home.stateVersion option is set to "21.05" or later.

    • Nothing has happened. diff --git a/tools.html b/tools.html index bb25663f8..0342c64af 100644 --- a/tools.html +++ b/tools.html @@ -1,6 +1,6 @@ -Appendix D. Tools

      Appendix D. Tools

      home-manager - — reconfigure a user environment

      Name

      home-manager +Appendix D. Tools

      Appendix D. Tools

      home-manager + — reconfigure a user environment

      Name

      home-manager — reconfigure a user environment

      Synopsis

      home-manager { build | @@ -72,7 +72,7 @@ | --verbose } - ]

      Description

      + ]

      Description

      This command updates the user environment so that it corresponds to the configuration specified in ~/.config/nixpkgs/home.nix.

      @@ -137,7 +137,7 @@ available for immediate garbage collection.

    -

    Options

    +

    Options

    The tool accepts the options

    -A attrPath @@ -226,15 +226,15 @@ --verbose

    Activates verbose output. -

    Files

    +

    Files

    ~/.local/share/home-manager/news-read-ids

    Identifiers of news items that have been shown. Can be deleted to reset the read news indicator. -

    Bugs

    +

    Bugs

    Please report any bugs on the project issue tracker. -

    See also

    +

    See also

    home-configuration.nix(5)

    \ No newline at end of file