-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.modular.nix
executable file
·62 lines (54 loc) · 1.25 KB
/
home.modular.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
{config, pkgs, ...}:
{
users.me = {pkgs, ...}:
let homeDir = "/home/me/"; # builtins.getEnv "Home";
configDir = path: homeDir + "nixConfig/" + path;
in rec {
nixpkgs = {
config = {
allowUnfree = true;
allowBroken = false;
allowUnsupportedSystem = false;
};
};
home.packages = with pkgs;
[
ctags
rsync
gnutar
# needed for Xmonad
feh
# rxvt_unicode-with-plugins
# some X packages
vlc
# pavucontrol
# unrar
unzip
htop
# vim
opera
# NOTE: iana-etc is needed by nix-build for stack
# stack
iana-etc
# dconf for gnome3 UI
# gnome3.dconf
];
programs.git = {
enable = true;
userName = "Hristo Kochev";
userEmail = "[email protected]";
};
programs = {
chromium.enable = true;
bash.enable = true;
# dconf.enable = true; # add for gnome programs (opera, firefox etc.)
vim = {
enable = true;
extraConfig = builtins.readFile (configDir "vimrc");
plugins = import (configDir "vimPlugins.nix");
};
# Let Home Manager install and manage itself.
home-manager.enable = true;
};
# };
}