From 6d58d6a14e15f916f1cc34eb34feb2d6ed9608b9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 2 Aug 2023 15:20:26 +0800 Subject: [PATCH] config: update default home-manager config --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 08d5898c..0c8039e6 100644 --- a/flake.nix +++ b/flake.nix @@ -200,7 +200,7 @@ # be used for sharing modules among home-manager users from NixOS # configurations with `nixpkgs.useGlobalPkgs` set to `true` so avoid # setting nixpkgs-related options here. - userSharedConfig = { pkgs, config, ... }: { + userSharedConfig = { pkgs, config, lib, ... }: { imports = [ inputs.nur.hmModules.nur inputs.sops-nix.homeManagerModules.sops @@ -239,12 +239,15 @@ programs.home-manager.enable = true; - manual = { + manual = lib.mkDefault { html.enable = true; json.enable = true; manpages.enable = true; }; + home.stateVersion = lib.mkDefault "23.11"; + }; + nixSettingsSharedConfig = { config, lib, pkgs, ... }: { # I want to capture the usual flakes to its exact version so we're # making them available to our system. This will also prevent the