forked from nico/dots
nixos: add module 'opensnitch'
This commit is contained in:
parent
e1bdc1e7fa
commit
b69c2a94e9
2 changed files with 24 additions and 0 deletions
16
modules/linux/opensnitch.nix
Normal file
16
modules/linux/opensnitch.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.opensnitch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
DefaultAction = "allow";
|
||||||
|
LogLevel = 2;
|
||||||
|
Stats.MaxEvents = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.opensnitch-ui
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -18,6 +18,7 @@ exec-once = waybar &
|
||||||
exec-once = swaync &
|
exec-once = swaync &
|
||||||
exec-once = walker --gapplication-service
|
exec-once = walker --gapplication-service
|
||||||
|
|
||||||
|
exec-once = opensnitch-ui
|
||||||
exec-once = systemctl status --user polkit-gnome-authentication-agent-1.service
|
exec-once = systemctl status --user polkit-gnome-authentication-agent-1.service
|
||||||
exec-once = uwsm finalize
|
exec-once = uwsm finalize
|
||||||
|
|
||||||
|
|
@ -263,6 +264,13 @@ windowrulev2 = pin, initialClass:(^polkit-gnome-authentication-agent-1$)
|
||||||
windowrulev2 = stayfocused, initialClass:(^polkit-gnome-authentication-agent-1$)
|
windowrulev2 = stayfocused, initialClass:(^polkit-gnome-authentication-agent-1$)
|
||||||
windowrulev2 = animation slidein, initialClass:(^polkit-gnome-authentication-agent-1$)
|
windowrulev2 = animation slidein, initialClass:(^polkit-gnome-authentication-agent-1$)
|
||||||
|
|
||||||
|
windowrulev2 = dimaround, initialClass:(^opensnitch_ui$)
|
||||||
|
windowrulev2 = stayfocused, initialClass:(^opensnitch_ui$)
|
||||||
|
windowrulev2 = animation slidein, initialClass:(^opensnitch_ui$)
|
||||||
|
windowrulev2 = float, initialClass:(^opensnitch_ui$)
|
||||||
|
windowrulev2 = size 960 540, initialClass:(^opensnitch_ui$)
|
||||||
|
windowrulev2 = center, initialClass:(^opensnitch_ui$)
|
||||||
|
|
||||||
windowrulev2 = idleinhibit fullscreen, initialTitle:(.*)
|
windowrulev2 = idleinhibit fullscreen, initialTitle:(.*)
|
||||||
|
|
||||||
# layer rules
|
# layer rules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue