don't add service-only pkgs to systemPackages

These packages are not useful in shell environemnts.
This commit is contained in:
Erik Arvstedt 2020-11-09 22:09:08 +01:00
parent e39ad358a4
commit b1a5f5e7b9
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
4 changed files with 0 additions and 6 deletions

View File

@ -63,8 +63,6 @@ in {
services.bitcoind.enable = true; services.bitcoind.enable = true;
environment.systemPackages = [ pkgs.nix-bitcoin.electrs ];
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -" "d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -"
]; ];

View File

@ -51,7 +51,6 @@ in {
"d '${cfg.dataDir}' 0700 ${user} ${group} - -" "d '${cfg.dataDir}' 0700 ${user} ${group} - -"
]; ];
environment.systemPackages = [ pkgs.nix-bitcoin.lightning-charge ];
systemd.services.lightning-charge = { systemd.services.lightning-charge = {
description = "Run lightning-charge"; description = "Run lightning-charge";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];

View File

@ -79,8 +79,6 @@ in {
services.lightning-charge.enable = true; services.lightning-charge.enable = true;
environment.systemPackages = [ pkgs.nix-bitcoin.nanopos ];
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts."_" = { virtualHosts."_" = {

View File

@ -54,7 +54,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.clightning.enable = true; services.clightning.enable = true;
environment.systemPackages = [ pkgs.nix-bitcoin.spark-wallet ];
users.users.spark-wallet = { users.users.spark-wallet = {
description = "spark-wallet User"; description = "spark-wallet User";
group = "spark-wallet"; group = "spark-wallet";