+# 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;
{ pkgs, lib, config, ... }:
{
-#nixpkgs.overlays = import <nixpkgs-overlays>;
imports = [
- (./homes + "/julm.nix")
- homes/softwares.nix
- #homes/options.nix
+ (./homes + "/${getEnv "USER"}.nix")
];
config = {
+ nixpkgs.overlays = import <nixpkgs-overlays> ++ import nixpkgs/overlays.nix;
home.stateVersion = lib.mkDefault "20.09";
home.username = lib.mkDefault (getEnv "USER");
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
- #programs.home-manager.enable = false; # Installed by NixOS
};
}