build(nixos): add home-manager

This commit is contained in:
Mohammad Rafiq 2025-02-22 12:38:34 +08:00
parent 9bc605b2eb
commit ef89e56b6e
3 changed files with 73 additions and 2 deletions

42
home.nix Normal file
View file

@ -0,0 +1,42 @@
{ config, pkgs, ... }:
{
home.username = "rafiq";
home.homeDirectory = "/home/rafiq";
# home.file.".config/" = {
# source = ./.config;
# recursive = true;
# };
home.packages = with pkgs; [
fastfetch
neovim
zip
unzip
ripgrep
];
programs.git = {
enable = true;
userName = "Mohammad Rafiq";
userEmail = "mohammadrafiq567@gmail.com";
};
#TODO add neovim option
#TODO add starship
programs.bash = {
enable = true;
enableCompletion = true;
shellAliases = {
ll = "ls -la";
};
};
home.stateVersion = "24.11";
programs.home-manager.enable = true;
}