]> Git — Sourcephile - julm/julm-nix.git/blob - homes.nix
bash: add riseup alias
[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 with builtins;
4 { pkgs, lib, config, ... }:
5 {
6 imports = [
7 (./homes + "/${getEnv "USER"}.nix")
8 ];
9 config = {
10 nixpkgs.overlays = import <nixpkgs-overlays> ++ import nixpkgs/overlays.nix;
11 home.stateVersion = lib.mkDefault "20.09";
12 home.username = lib.mkDefault (getEnv "USER");
13 home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
14 };
15 }