added ipfs package and service

This commit is contained in:
Enrico Fasoli 2015-09-16 02:00:03 +02:00
parent 0da90c519c
commit b2306caaf8

View File

@ -65,7 +65,7 @@
# Games # Games
minecraft steam minecraft steam
# Productivity and applications # Productivity and applications
vim ranger chromium irssi bc w3m gnupg libreoffice zathura vim ranger chromium irssi bc w3m gnupg libreoffice zathura go14Packages.ipfs.bin
# Media # Media
beets mpd mpc_cli ncmpcpp popcorntime mpv beets mpd mpc_cli ncmpcpp popcorntime mpv
# System utilities, drivers... # System utilities, drivers...
@ -144,6 +144,18 @@
}; };
}; };
# Custom Services
systemd.services.ipfs = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.bash ];
serviceConfig = {
User = "fazo";
ExecStart = "${pkgs.go14Packages.ipfs.bin}/bin/ipfs daemon --init";
};
};
# User environment # User environment
programs.zsh = { programs.zsh = {