blob: 952526e8b3a0f20c6aaa0ef7873f051a79fcbd67 (
plain) (
blame)
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
|
{ config, lib, pkgs, ... }:
let
inherit (pkgs.vuizvui.profpatsch)
getBins
;
bins = (getBins pkgs.neovim [ "nvim" ])
// (getBins pkgs.less [ "less" ])
;
in {
config = {
boot.cleanTmpDir = true;
nix = {
useSandbox = true;
extraOptions = ''
gc-keep-derivations = false
builders-use-substitutes = true
'';
};
nixpkgs.config.allowUnfree = true;
services.journald.extraConfig = lib.mkDefault "SystemMaxUse=500M";
console.keyMap = lib.mkDefault "de-latin1";
time.timeZone = lib.mkDefault "Europe/Berlin";
i18n = {
defaultLocale = "en_US.UTF-8";
};
programs.fish = {
enable = true;
vendor.completions.enable = true;
shellAliases = {
"sd" = "systemctl";
};
shellInit = ''
set -x fish_greeting ""
'';
};
documentation = {
enable = true;
dev.enable = true;
man.enable = false;
};
vuizvui.user.sternenseemann.documentation.mandoc = {
enable = true;
generateCaches = true;
manPath = [ "share/man" "share/man/de" ];
};
environment.systemPackages = with pkgs; [
curl wget
man-pages
git
file htop psmisc tmux
neovim
];
environment.variables = {
EDITOR = bins.nvim;
VISUAL = bins.nvim;
PAGER = "${bins.less} -R";
# git-diff without the extra options passed to less
GIT_PAGER = bins.less;
LESS = "-R";
};
};
}
|