dotfiles/nixos/boxes/vultr1/folding.nix

14 lines
279 B
Nix
Raw Normal View History

2021-06-12 15:46:26 +01:00
{ config, pkgs, lib, ... }:
2021-06-02 20:42:32 +01:00
{
2021-06-12 15:46:26 +01:00
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"fahclient"
];
2021-06-02 20:42:32 +01:00
services.foldingathome = {
enable = true;
user = "cyplo";
};
boot.kernel.sysctl = {
"kernel.unprivileged_userns_clone" = 1;
};
}