diff --git a/flake.nix b/flake.nix index 631bec7..fb1f052 100644 --- a/flake.nix +++ b/flake.nix @@ -59,7 +59,7 @@ username = "folo"; fullName = "Filip Hoffmann"; email = "folosp@protonmail.com"; - groups = ["networkmanager" "wheel" "wireshark"]; + groups = ["wireshark" "networkmanager" "wheel"]; browser = "firefox"; # one of firefox, none terminal = "kitty"; # one of alacritty, kitty, ghostty, none }; diff --git a/system/configuration.nix b/system/configuration.nix index 4935eb9..f329e1b 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -23,6 +23,7 @@ in { ./sound.nix ./swap.nix ./user.nix + ./wireshark.nix ./xserver.nix ./zsh.nix diff --git a/system/user.nix b/system/user.nix index 5fc14c6..60fc964 100644 --- a/system/user.nix +++ b/system/user.nix @@ -1,4 +1,8 @@ -{userSettings, pkgs, ...}: { +{ + userSettings, + pkgs, + ... +}: { users.users.${userSettings.username} = { isNormalUser = true; description = userSettings.fullName; diff --git a/system/wireshark.nix b/system/wireshark.nix new file mode 100644 index 0000000..1f7baf3 --- /dev/null +++ b/system/wireshark.nix @@ -0,0 +1,3 @@ +_: { + programs.wireshark.enable = true; +} diff --git a/user/misc.nix b/user/misc.nix index 3727e38..47fd459 100644 --- a/user/misc.nix +++ b/user/misc.nix @@ -35,5 +35,6 @@ # ciscoPacketTracer8 gamescope zenity + wireshark ]; }