Adding ipfs

This commit is contained in:
Martin Potier 2017-06-23 22:11:57 +02:00
parent fc39b3d258
commit 7bb46d0128
2 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,7 @@
[
./hardware-configuration.nix
./mail.nix
./ipfs.nix
#./ipv6.nix
];
@ -194,6 +195,7 @@
'' ];
};
services = {
avahi.enable = false; # for cups printer discovery
udev.packages = with pkgs; [ crda ];

8
ipfs.nix Normal file
View File

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
services.ipfs = {
enable = true;
enableGC = true;
};
}