-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
36 lines (32 loc) · 798 Bytes
/
home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ pkgs, ... }:
{
# this is internal compatibility configuration
# for home-manager, don't change this!
home.stateVersion = "23.05";
# Let home-manager install and manage itself.
programs.home-manager.enable = true;
home.packages = with pkgs; [ ];
home.sessionVariables = {
EDITOR = "vim";
};
home.file.".vimrc".source = ./vim_configuration;
programs.git = {
enable = true;
userName = "Ricky Ng-Adam";
userEmail = "ricky@coderbunker.ca";
ignores = [ ".DS_Store" ];
extraConfig = {
init.defaultBranch = "main";
push.autoSetupRemote = true;
};
};
programs.bash = {
enable = true;
shellAliases = {
switch = "nixos-rebuild switch --use-remote-sudo";
};
};
programs.starship = {
enable = true;
};
}