2024-06-08 20:18:59 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.yate
|
2024-06-08 22:18:23 +02:00
|
|
|
pkgs.git
|
|
|
|
pkgs.tcpdump
|
|
|
|
pkgs.tmux
|
2024-06-08 20:18:59 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Just disable it for now.
|
|
|
|
networking.firewall.enable = false;
|
2024-06-08 22:18:23 +02:00
|
|
|
|
|
|
|
users.users.yate = {
|
|
|
|
description = "yate service user";
|
|
|
|
group = "yate-config";
|
|
|
|
isNormalUser = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
users.groups.yate-config = {};
|
|
|
|
users.groups.yate-config.members = [ "colmema-deploy" "chaos" "root" "yate"];
|
|
|
|
|
|
|
|
environment.etc.yate.user = "yate";
|
|
|
|
environment.etc.yate.group = "yate-config";
|
|
|
|
environment.etc.yate.mode = "symlink";
|
|
|
|
environment.etc.yate.source = "/var/lib/yate";
|
2024-06-08 20:18:59 +02:00
|
|
|
}
|