dotfiles/nixos/boxes/vultr1/folding.nix
2021-06-12 15:46:26 +01:00

13 lines
279 B
Nix

{ config, pkgs, lib, ... }:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"fahclient"
];
services.foldingathome = {
enable = true;
user = "cyplo";
};
boot.kernel.sysctl = {
"kernel.unprivileged_userns_clone" = 1;
};
}