From cfaef26e8718916adcc68fbfb63b15f2389b2cd2 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 6 Oct 2023 23:10:55 +0200 Subject: move all the files --- profiles/core/hm.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 profiles/core/hm.nix (limited to 'profiles/core/hm.nix') diff --git a/profiles/core/hm.nix b/profiles/core/hm.nix new file mode 100644 index 0000000..e1a29d6 --- /dev/null +++ b/profiles/core/hm.nix @@ -0,0 +1,24 @@ +{inputs, config, lib, ...}: { + imports = [ + inputs.home-manager.nixosModules.default + (mkAliasOptionModule [ "hm" ] [ "home-manager" "users" my.username ]) + ]; + + system.extraDependencies = collectFlakeInputs inputs.home-manager; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + verbose = true; + extraSpecialArgs = { inherit inputs; }; + }; + + hm = { + home.stateVersion = config.system.stateVersion; + home.enableNixpkgsReleaseCheck = false; + + systemd.user.startServices = "sd-switch"; + + manual.html.enable = true; + }; +} -- cgit v1.2.3