From 54f367b1196cb23c6803bc48359512ccc39f4136 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 30 Dec 2019 22:32:27 +0100 Subject: [PATCH] install: add state version to initial configuration This sets the state version in recent installs to the latest released version. It is beneficial for people to be aware of this option and it is also good to help new users get a more recent setup. --- home-manager/install.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-manager/install.nix b/home-manager/install.nix index c58c0ba74..bafb9a065 100644 --- a/home-manager/install.nix +++ b/home-manager/install.nix @@ -21,6 +21,16 @@ runCommand { # Let Home Manager install and manage itself. programs.home-manager.enable = true; + + # This value determines the Home Manager release that your + # configuration is compatible with. This helps avoid breakage + # when a new Home Manager release introduces backwards + # incompatible changes. + # + # You can update Home Manager without changing this value. See + # the Home Manager release notes for a list of state version + # changes in each release. + home.stateVersion = "19.09"; } EOF fi