From c4d436b43493557b06ed72da94cf1add7ff05ff0 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sun, 30 Jun 2024 17:42:09 +0200 Subject: [PATCH] update --- hosts/server/modules/internal/cockpit.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/server/modules/internal/cockpit.nix b/hosts/server/modules/internal/cockpit.nix index e27ec94..b6798a6 100644 --- a/hosts/server/modules/internal/cockpit.nix +++ b/hosts/server/modules/internal/cockpit.nix @@ -1,8 +1,15 @@ # Web-based graphical interface for servers -{ +{ pkgs, ... }: { services.cockpit = { enable = true; port = 3009; openFirewall = true; + settings.WebService = { AllowUnencrypted = true; }; }; + + environment.systemPackages = with pkgs; [ + networkmanagerapplet + selinux-python + cockpit + ]; }