don't add service-only pkgs to systemPackages
These packages are not useful in shell environemnts.
This commit is contained in:
parent
e39ad358a4
commit
b1a5f5e7b9
@ -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} - -"
|
||||||
];
|
];
|
||||||
|
@ -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" ];
|
||||||
|
@ -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."_" = {
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user