1
1
Fork 0

programs: add gns3

This commit is contained in:
Myned 2025-04-11 21:31:42 -05:00
parent b844c980f9
commit 0783c48310
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 27 additions and 0 deletions
options/custom/programs

View file

@ -57,6 +57,7 @@ with lib; {
#// gnome-shell.enable = true;
#// goldwarden.enable = true;
gpg.enable = true;
#// gns3.enable = true;
#// gtklock.enable = true;
hyprlock.enable = true;
libreoffice.enable = true;

View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs.gns3;
in {
options.custom.programs.gns3 = {
enable = mkEnableOption "gns3";
};
config = mkIf cfg.enable {
# https://www.gns3.com/
# https://github.com/GNS3/gns3-gui
# https://wiki.nixos.org/wiki/GNS3
# https://wiki.archlinux.org/title/GNS3
environment.systemPackages = [pkgs.gns3-gui];
services.gns3-server = {
enable = true;
dynamips.enable = true;
};
};
}