# This file is only used when home-manager # is called manually, not when integrated into NixOS. # FIXME: how to pass hostName in modules' specialArgs? with builtins; { lib, config, ... }: { imports = [ (./homes + "/${getEnv "USER"}.nix") ]; config = { nixpkgs.overlays = import ++ import nixpkgs/overlays.nix; home.stateVersion = lib.mkDefault "20.09"; home.username = lib.mkDefault (getEnv "USER"); home.homeDirectory = lib.mkDefault "/home/${config.home.username}"; }; }