diff --git a/flake.nix b/flake.nix index 9409981..0003122 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ { nixpkgs.config.allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg) [ "rns" "lxmf" ]; + builtins.elem (lib.getName pkg) [ "rns" ]; } ./reticulum.nix ]; diff --git a/reticulum.nix b/reticulum.nix index 392af17..8fdba71 100644 --- a/reticulum.nix +++ b/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 ]; } \ No newline at end of file