}
];
+ boot.kernel.sysctl."vm.nr_hugepages" = 256; # for xmr-stak
system.activationScripts.backup_home = ''
chown root:root /var/lib/backup
install -m 0750 -o backup -g root -d /var/lib/backup/eldiron
weechat = import ./weechat;
ympd = import ./ympd;
doing = import ./doing;
+ xmr-stak = import ./xmr-stak;
}
// import ./python-packages
--- /dev/null
+self: super: {
+ xmr-stak = super.xmr-stak.overrideAttrs(old: rec {
+ name = "xmr-stak-${version}";
+ version = "1.0.4-rx";
+ src = super.fetchFromGitHub {
+ owner = "fireice-uk";
+ repo = "xmr-stak";
+ rev = version;
+ sha256 = "1gsvm279i5jdcjhxsllnkyws6rq0n6qz4j9mg22fwvbgj5ms0gwp";
+ };
+ postPatch = "";
+ });
+}