-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.nix
95 lines (83 loc) · 1.92 KB
/
common.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
88
89
90
91
92
93
94
95
{ config, pkgs, ... }:
{
boot.cleanTmpDir = true;
environment.shellAliases.homekeeper =
"git --git-dir=\"\${HOME}/.homekeeper\" --work-tree=\"\${HOME}\"";
#nixpkgs.overlays = [
# (import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/overlay.nix")
#];
environment.extraInit = ''
export EDITOR=nano
'';
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
apg
atop
elinks
file
gitFull
gnumake
gnupg
htop
imagemagick
jq
nano
pass
tmux
unzip
vim
wget
zip
#home-manager
];
fonts.fontDir.enable = true;
fonts.enableGhostscriptFonts = true;
fonts.fonts = with pkgs; [
bakoma_ttf
cantarell_fonts
corefonts
dejavu_fonts
font-awesome-ttf
font-awesome_5
gentium
inconsolata
liberation_ttf
powerline-fonts
source-code-pro
terminus_font
ubuntu_font_family
];
#i18n.consoleFont = "Lat2-Terminus16";
console.font = "Lat2-Terminus16";
#i18n.consoleKeyMap = "colemak/en-latin9";
#i18n.consoleKeyMap = "colemak";
console.keyMap = "colemak";
#i18n.defaultLocale = "fi_FI.UTF-8";
i18n.defaultLocale = "en_US.UTF-8";
nixpkgs.config.allowUnfree = true;
programs.ssh.agentTimeout = "12h";
programs.ssh.startAgent = true;
# @TODO
#programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
#};
programs.zsh.enable = true;
programs.zsh.syntaxHighlighting.enable = true;
programs.zsh.syntaxHighlighting.highlighters = [
# "main"
"brackets"
];
programs.zsh.interactiveShellInit = ''
# TODO: programs.zsh.interactiveShellInit
'';
programs.zsh.loginShellInit = ''
# TODO: programs.zsh.loginShellInit
'';
programs.zsh.shellInit = ''
unsetopt share_history
bindkey -e
'';
time.timeZone = "Europe/Helsinki";
}