From 8f8810c732642c6a1b7264240725e77c6bb8d9dc Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Wed, 26 Jun 2024 10:40:08 +0200 Subject: [PATCH] opensnitch --- common/services/opensnitch.nix | 16 ++++++++++++++++ hosts/yaseen/configuration.nix | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 common/services/opensnitch.nix diff --git a/common/services/opensnitch.nix b/common/services/opensnitch.nix new file mode 100644 index 0000000..90eb29d --- /dev/null +++ b/common/services/opensnitch.nix @@ -0,0 +1,16 @@ +{ + lib, + pkgs, + ... +}: { + services.opensnitch.enable = true; + + environment.systemPackages = with pkgs; [ + opensnitch + opensnitch-ui + ]; + + home-manager.users.tasia = { + services.opensnitch-ui.enable = true; + }; +} diff --git a/hosts/yaseen/configuration.nix b/hosts/yaseen/configuration.nix index 1b7181e..f3e18af 100644 --- a/hosts/yaseen/configuration.nix +++ b/hosts/yaseen/configuration.nix @@ -37,6 +37,7 @@ in { # Services ../../common/services/auditd.nix ../../common/services/nix-gc.nix + ../../common/services/opensnitch.nix ../../common/services/adguardhome.nix ../../common/services/syncthing.nix ../../common/services/usbguard.nix @@ -107,7 +108,6 @@ in { programs.adb.enable = true; - services.grafana = { enable = false; settings.server = {