-
Notifications
You must be signed in to change notification settings - Fork 5
/
raskin-config.nix
37 lines (33 loc) · 938 Bytes
/
raskin-config.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
{pkgs,...}:
{
fetchmtn = {
cacheDB = "/var/cache/monotone/mtn.db";
# defaultDBMirrors = ["file:///home/raskin/.mtn-journal-dir/.mtn.db"];
};
ikiwiki = {
git = true;
monotone = true;
};
packageOverrides = p:
let
pp = import ./private-packages.nix {pkgs=p;};
in
{
glibcLocales = p.glibcLocales.override {
locales = ["en_US.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" "ru_RU.KOI8-R/KOI8-R" "ru_RU.CP1251/CP1251"];
allLocales = true;
};
#patchelf06 = p.lib.overrideDerivation p.patchelf06 (x: {
# src = "" + /home/repos/patchelf + "";
# preConfigure = "./bootstrap.sh";
# buildInputs = x.buildInputs ++ [p.autoconf p.automake p.libtool];
#});
# grub2 = pp.grub2Bzr;
# kexectools="/var/empty/";
};
allowUnfreePredicate = (x:
(pkgs.lib.hasPrefix "nvidia-x11-" x.name) ||
false
);
allowTexliveBuilds = true;
}