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:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [ "rns" "lxmf" ];
|
builtins.elem (lib.getName pkg) [ "rns" ];
|
||||||
}
|
}
|
||||||
./reticulum.nix
|
./reticulum.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [ pkgs.python3Packages.rns ];
|
||||||
pkgs.python314Packages.rns
|
|
||||||
pkgs.python314Packages.lxmf
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.etc."reticulum-config".text = ''
|
environment.etc."reticulum-config".text = ''
|
||||||
[reticulum]
|
[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 ];
|
networking.firewall.allowedTCPPorts = [ 25515 ];
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue