dotfiles/nixos/boxes/vultr1/folding.nix
Cyryl Płotnicki 3d6dd759c4 nixfmt
2022-03-10 12:25:23 +00:00

9 lines
271 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; };
}