-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.home.nix
87 lines (87 loc) · 1.89 KB
/
root.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{ self, ... }@inputs:
{ config, lib, pkgs, ... }: {
# https://github.com/NobbZ/nixos-config/blob/overhaul/flake.nix
# https://github.com/nix-community/home-manager/issues/1519
#
imports = [ inputs.nix-doom-emacs.hmModule ];
nixpkgs = {
config = {
allowUnfree = true;
input-fonts.acceptLicense = true;
};
overlays = [
inputs.nix-hls.overlay
inputs.emacs-overlay.overlay
inputs.nix-colmena.overlay
];
};
fonts = { fontconfig.enable = true; };
home = {
stateVersion = "22.05";
packages = with pkgs; [
ack
ag
file
gcc
htop
lm_sensors
inputs.nixF.defaultPackage.x86_64-linux
nixfmt
nix-prefetch-scripts
pinentry
python39Full
python39Packages.python-lsp-server
ripgrep
rnix-lsp
rxvt-unicode
tmux
tree
xclip
];
};
services.gpg-agent = {
enable = true;
# defaultCacheTtl = 1800;
enableSshSupport = true;
};
programs = {
#
# GIT
#
git = {
enable = true;
userName = "Providence Salumu";
userEmail = "[email protected]";
signing.signByDefault = true;
signing.key = "48288CFA12817D0C5D56733C6E341E460DD3F77C";
ignores = [
"*.nogit*"
".envrc"
".vscode"
".vim"
"Session.vim"
"dist-newstyle"
"result"
"stack.yaml.lock"
"build"
"TAGS"
".stack-work"
".direnv"
];
lfs.enable = true;
delta.enable = true;
extraConfig = {
pull = { rebase = true; };
fetch = { prune = true; };
diff = { colorMoved = "zebra"; };
core = { editor = "emacs -nw"; };
};
};
};
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
# emacsPackage = pkgs.emacsGcc;
# emacsPackagesOverlay = inputs.emacs-overlay.overlay;
};
}