-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome-macos.nix
52 lines (43 loc) · 1.05 KB
/
home-macos.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
args@{ config, pkgs, lib, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
];
programs = {
broot.enable = true; # directory browser
direnv = {
enable = true;
nix-direnv.enable = true;
};
fzf.enable = true;
go.enable = true;
home-manager.enable = true;
z-lua = { # directory quick nav
enable = true;
enableAliases = true;
options = ["enhanced" "once" "fzf"];
};
};
home.file = {
".ghci".source = ./home/ghci;
".psqlrc".source = ./home/psqlrc;
".railsrc".source = ./home/railsrc;
};
imports = [
./common.nix
./macos.nix
./environment.nix
./accounts
./programs/alacritty
./programs/git
./programs/kitty
./programs/neomutt
./programs/neovim
# ./programs/tmux
./programs/vim
(import ./programs/zsh (args // {chruby = pkgs.chruby;}))
];
}