Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-08-18 13:20:18 +00:00
parent 2b2fbcdc8c
commit 0785b817d2
4 changed files with 16 additions and 8 deletions

View File

@@ -11,6 +11,7 @@
./fish.nix ./fish.nix
./fzf.nix ./fzf.nix
./git.nix ./git.nix
./direnv.nix
./lazygit.nix ./lazygit.nix
./mise.nix ./mise.nix
./neovim ./neovim
@@ -23,17 +24,9 @@
]; ];
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
home = { home = {
packages = pkgs.callPackage ../packages.nix {}; packages = pkgs.callPackage ../packages.nix {};
stateVersion = constants.stateVersions.homeManager; stateVersion = constants.stateVersions.homeManager;
shellAliases = {
v = "nvim";
lg = "lazygit";
};
}; };
} }

7
modules/home/direnv.nix Normal file
View File

@@ -0,0 +1,7 @@
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
}

View File

@@ -51,4 +51,8 @@
}; };
}; };
}; };
home.shellAliases = {
lg = "lazygit";
};
} }

View File

@@ -24,4 +24,8 @@
}; };
}; };
}; };
home.shellAliases = {
v = "neovim";
}:
} }