29 lines
602 B
Nix
29 lines
602 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = [
|
|
pkgs.yate
|
|
pkgs.git
|
|
pkgs.tcpdump
|
|
pkgs.tmux
|
|
];
|
|
|
|
# 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";
|
|
}
|