This commit is contained in:
Jakub Dorfman 2026-05-14 21:40:56 +02:00
parent d7bc158864
commit b6f18de9e2
2 changed files with 2 additions and 21 deletions

View file

@ -39,7 +39,7 @@
{
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "rns" "lxmf" ];
builtins.elem (lib.getName pkg) [ "rns" ];
}
./reticulum.nix
];

View file

@ -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 ];
}