From 2633e7bcf3b42447d88dbb5645c2f7d0cb9a1418 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 15 Feb 2023 02:52:52 -0500 Subject: improve mkHost --- util/user.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'util/user.nix') diff --git a/util/user.nix b/util/user.nix index e69d46c..3d16651 100644 --- a/util/user.nix +++ b/util/user.nix @@ -4,20 +4,23 @@ stateVersion ? "22.11", system ? "x86_64-linux", channel, + modules, }: home-manager.lib.homeManagerConfiguration { pkgs = channel.legacyPackages.${system}; - modules = [ - ../users/${username}/home.nix - { - nixpkgs.config.allowUnfree = true; - systemd.user.startServices = true; - home = { - inherit username stateVersion; - homeDirectory = "/home/${username}"; - }; - programs.home-manager.enable = true; - } - ]; + modules = + [ + ../users/${username}/home.nix + { + nixpkgs.config.allowUnfree = true; + systemd.user.startServices = true; + home = { + inherit username stateVersion; + homeDirectory = "/home/${username}"; + }; + programs.home-manager.enable = true; + } + ] + ++ modules; }; } -- cgit v1.2.3