This commit is contained in:
Noa Aarts 2024-03-27 13:53:12 +01:00
parent 340fde6e8d
commit ccce41dcde
4 changed files with 17 additions and 2 deletions

View file

@ -21,6 +21,7 @@
grim
hypridle # TODO: remove when fixed with config
playerctl
];
services.playerctld.enable = true;

View file

@ -1,6 +1,7 @@
{ config, pkgs, inputs, ... }:
{
services.spotifyd.enable = true;
home.packages = with pkgs; [
(symlinkJoin {
name = "spotify";

View file

@ -154,6 +154,18 @@
jack.enable = true;
};
services.fail2ban = {
enable = true;
maxretry = 5;
bantime = "1s";
bantime-increment = {
enable = true;
formula = "ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)";
maxtime = "1h";
overalljails = true;
};
};
boot.kernelModules = [
"v4l2loopback"
"nct6775"
@ -176,8 +188,8 @@
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ 5909 ];
# networking.firewall.allowedUDPPorts = [ 5909 ];
networking.firewall.allowedTCPPorts = [ 2000 ];
networking.firewall.allowedUDPPorts = [ 2000 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;

View file

@ -122,6 +122,7 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"'';
home.pointerCursor =
let