nix-infra/config/hosts/yate/yate.nix

29 lines
602 B
Nix
Raw Normal View History

2024-06-08 20:18:59 +02:00
{ config, pkgs, ... }:
{
environment.systemPackages = [
pkgs.yate
pkgs.git
pkgs.tcpdump
pkgs.tmux
2024-06-08 20:18:59 +02:00
];
# Just disable it for now.
networking.firewall.enable = false;
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
}