]> Git — Sourcephile - julm/julm-nix.git/blob - homes.nix
acpi: suspend or halt on events
[julm/julm-nix.git] / homes.nix
1 # This file is only used when home-manager
2 # is called manually, not when integrated into NixOS.
3 # FIXME: how to pass hostName in modules' specialArgs?
4 with builtins;
5 { lib, config, ... }:
6 {
7 imports = [
8 (./homes + "/${getEnv "USER"}.nix")
9 ];
10 config = {
11 nixpkgs.overlays = import <nixpkgs-overlays> ++ import nixpkgs/overlays.nix;
12 home.stateVersion = lib.mkDefault "20.09";
13 home.username = lib.mkDefault (getEnv "USER");
14 home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
15 };
16 }