about summary refs log tree commit diff
path: root/hosts/commons/default.nix
blob: d49247a2130cd39734dea002604638b2b0d0be48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, pkgs, system, inputs, ... }:

{
  environment = {
    # Activate home-manager environment, if not already enabled
    loginShellInit = ''
      [ -d "$HOME/.nix-profile" ] || /nix/var/nix/profiles/per-user/$USER/home-manager/activate &> /dev/null
    '';
    homeBinInPath = true;
    localBinInPath = true;
  };
}