revert to ada9be7
This commit is contained in:
parent
d7bc158864
commit
b6f18de9e2
2 changed files with 2 additions and 21 deletions
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [ "rns" "lxmf" ];
|
||||
builtins.elem (lib.getName pkg) [ "rns" ];
|
||||
}
|
||||
./reticulum.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.python314Packages.rns
|
||||
pkgs.python314Packages.lxmf
|
||||
];
|
||||
environment.systemPackages = [ pkgs.python3Packages.rns ];
|
||||
|
||||
environment.etc."reticulum-config".text = ''
|
||||
[reticulum]
|
||||
|
|
@ -52,21 +49,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.lxmd = {
|
||||
description = "LXMF Propagation Node daemon";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" "rnsd.service" ];
|
||||
requires = [ "rnsd.service" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "reticulum";
|
||||
ExecStart = "${pkgs.python3Packages.lxmf}/bin/lxmd -p";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
Environment = "HOME=/var/lib/reticulum";
|
||||
StateDirectory = "reticulum";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 25515 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue