mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nftables
This commit is contained in:
parent
4dcea3a32e
commit
d82799ad46
3 changed files with 17 additions and 0 deletions
10
nixcfgs/modules/nixos/core/nftables.nix
Normal file
10
nixcfgs/modules/nixos/core/nftables.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
networking.nftables = {
|
||||
enable = true;
|
||||
};
|
||||
networking.firewall.backend = "nftables";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
iptables-nftables-compat
|
||||
];
|
||||
}
|
||||
|
|
@ -13,6 +13,12 @@
|
|||
nur.repos.ataraxiasjel.waydroid-script
|
||||
waydroid-helper
|
||||
];
|
||||
|
||||
networking = {
|
||||
firewall.trustedInterfaces = ["waydroid0"];
|
||||
nat.enable = true;
|
||||
};
|
||||
|
||||
systemd = {
|
||||
packages = [pkgs.waydroid-helper];
|
||||
services.waydroid-mount = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue