1
0

Compare commits

...

5 Commits

7 changed files with 11 additions and 15 deletions

View File

@@ -60,4 +60,10 @@
ip46tables -t mangle -A forward-mangle -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu ip46tables -t mangle -A forward-mangle -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
''; '';
networking.firewall.extraCommands = ''
# Reject all IPv4 traffic that tries to enter and leave the PPP tunnel
iptables -I INPUT -i ppp-ncfttb -j DROP
iptables -I OUTPUT -o ppp-ncfttb -j DROP
'';
} }

View File

@@ -1,9 +0,0 @@
{ pkgs, ... }:
{
services.udev.packages = [
pkgs.android-udev-rules
];
}

View File

@@ -5,7 +5,6 @@
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./android.nix
./backup.nix ./backup.nix
./etesync-dav.nix ./etesync-dav.nix
#./initrd.nix #./initrd.nix

View File

@@ -11,7 +11,7 @@ with lib;
roboto roboto
roboto-mono roboto-mono
noto-fonts noto-fonts
noto-fonts-emoji noto-fonts-color-emoji
comfortaa comfortaa
] ++ (if pkgs ? "noto-fonts-cjk-sans" then [ pkgs.noto-fonts-cjk-sans ] else [ pkgs.noto-fonts-cjk ]); ] ++ (if pkgs ? "noto-fonts-cjk-sans" then [ pkgs.noto-fonts-cjk-sans ] else [ pkgs.noto-fonts-cjk ]);

View File

@@ -8,7 +8,7 @@ with lib;
boot.resumeDevice = lib.optionalString ((lib.length config.swapDevices) > 0) (lib.head config.swapDevices).device; boot.resumeDevice = lib.optionalString ((lib.length config.swapDevices) > 0) (lib.head config.swapDevices).device;
services.logind = { services.logind = {
lidSwitch = "suspend-then-hibernate"; settings.Login.HandleLidSwitch = "suspend-then-hibernate";
}; };
systemd.sleep.extraConfig = '' systemd.sleep.extraConfig = ''
HibernateDelaySec=30m HibernateDelaySec=30m

View File

@@ -12,8 +12,6 @@ with lib;
programs.firefox.enable = true; programs.firefox.enable = true;
programs.firefox.package = pkgs.firefox-wayland;
programs.firefox.policies = { programs.firefox.policies = {
AutofillAddressEnabled = false; AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false; AutofillCreditCardEnabled = false;

View File

@@ -11,8 +11,10 @@ with lib;
config = mkIf config.profiles.clerie.router.enable { config = mkIf config.profiles.clerie.router.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wireguard-tools conntrack-tools
iptstate # show conntrack table
tcpdump tcpdump
wireguard-tools
]; ];
boot.kernel.sysctl = { boot.kernel.sysctl = {