build(nixos): add home-manager
This commit is contained in:
parent
9bc605b2eb
commit
ef89e56b6e
3 changed files with 73 additions and 2 deletions
42
home.nix
Normal file
42
home.nix
Normal 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;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue