2022-09-25 00:54:06 +05:30
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-09-27 13:08:52 +05:30
|
|
|
imports = [ ./programs ./launchd.nix ./nix.nix ];
|
|
|
|
|
2022-09-25 00:54:06 +05:30
|
|
|
home.username = "abhinav";
|
|
|
|
home.homeDirectory = "/Users/abhinav";
|
|
|
|
home.stateVersion = "22.05";
|
2022-09-26 19:12:14 +05:30
|
|
|
home.enableNixpkgsReleaseCheck = true;
|
|
|
|
|
2022-09-26 23:51:11 +05:30
|
|
|
home.shellAliases = {
|
2022-09-29 11:39:28 +05:30
|
|
|
g = "${pkgs.git}/bin/git";
|
|
|
|
j = "${pkgs.just}/bin/just";
|
|
|
|
l = "${pkgs.bat}/bin/bat";
|
|
|
|
m = "${pkgs.micro}/bin/micro";
|
|
|
|
|
|
|
|
br = "${pkgs.broot}/bin/broot";
|
|
|
|
du = "${pkgs.dua}/bin/dua interactive";
|
|
|
|
tf = "${pkgs.coreutils-full}/bin/tail -f";
|
2022-09-26 23:51:11 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionVariables = { EDITOR = "micro"; };
|
2022-09-29 11:39:28 +05:30
|
|
|
|
|
|
|
home.file."Applications/Home Manager Apps".source = let
|
|
|
|
apps = pkgs.buildEnv {
|
|
|
|
name = "home-manager-applications";
|
|
|
|
paths = config.home.packages;
|
|
|
|
pathsToLink = "/Applications";
|
|
|
|
};
|
|
|
|
in "${apps}/Applications";
|
2022-09-25 00:54:06 +05:30
|
|
|
}
|