-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.nix
52 lines (48 loc) · 1.19 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ config, pkgs, misc, ... }: {
nixpkgs = {
config = {
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = (_: true);
};
};
home.packages = [
pkgs.silver-searcher
pkgs.coreutils
pkgs.openssl
pkgs.tree
pkgs.docker
pkgs.slack
pkgs.wget
pkgs.zoom-us
pkgs.spotify
pkgs.raycast
pkgs.openvpn
pkgs.git
pkgs.direnv
pkgs.ollama
];
home.shellAliases = {
".." = "cd ..";
"ack" = "ag";
"dc" = "docker compose";
"df" = "df -hT";
"e" = "vim";
"f" = "fg";
"g" = "git";
"history" = "fc -El 1";
"j" = "jobs";
"ll" = "ls -lah";
};
home.sessionPath = [
"$HOME/bin"
"$HOME/.local/bin"
];
fonts.fontconfig.enable = true;
home.stateVersion = "22.11"; # To figure this out (in-case it changes) you can comment out the line and see what version it expected.
programs.home-manager.enable = true;
programs.dircolors.enable = true;
programs.zsh.profileExtra = "[ -r ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh";
programs.zsh.enableCompletion = true;
programs.zsh.enable = true;
}