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

{
  imports = [
    ./network.nix
  ];

  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;
  };
}