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
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-08-05 20:58:09 +02:00
2024-08-07 18:03:17 +02:00
users.users.yate = {
description = "yate service user";
group = "yate-config";
isNormalUser = true;
};
2024-08-05 20:58:09 +02:00
users.groups.yate-config = {};
2024-08-07 18:03:17 +02:00
users.groups.yate-config.members = [ "colmema-deploy" "chaos" "root" "yate"];
2024-08-05 20:58:09 +02:00
2024-08-07 18:03:17 +02:00
environment.etc.yate.user = "yate";
2024-08-05 20:58:09 +02:00
environment.etc.yate.group = "yate-config";
2024-08-06 22:06:26 +02:00
environment.etc.yate.mode = "symlink";
2024-08-05 20:58:09 +02:00
environment.etc.yate.source = "/var/lib/yate";
2024-06-08 20:18:59 +02:00
}