niksos/options/desktop/gns3.nix

34 lines
656 B
Nix
Raw Normal View History

2024-06-16 22:43:34 +02:00
{
config,
lib,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
gns3-gui
gns3-server
dynamips
xterm
inetutils
];
users.users.${config.myOptions.other.system.username} = {
extraGroups = [ "ubridge" ];
};
# services.gns3-server = {
# enable = true;
# ubridge.enable = true;
# };
users.groups.ubridge = {};
security.wrappers.ubridge = {
source = lib.getExe pkgs.ubridge;
capabilities = "cap_net_admin,cap_net_raw=ep";
owner = "root";
group = "ubridge";
permissions = "u=rwx,g=rx,o=rx";
2024-06-10 23:07:00 +02:00
};
}