some qol
This commit is contained in:
parent
340fde6e8d
commit
ccce41dcde
4 changed files with 17 additions and 2 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
grim
|
grim
|
||||||
|
|
||||||
hypridle # TODO: remove when fixed with config
|
hypridle # TODO: remove when fixed with config
|
||||||
|
playerctl
|
||||||
];
|
];
|
||||||
|
|
||||||
services.playerctld.enable = true;
|
services.playerctld.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
services.spotifyd.enable = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(symlinkJoin {
|
(symlinkJoin {
|
||||||
name = "spotify";
|
name = "spotify";
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,18 @@
|
||||||
jack.enable = true;
|
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 = [
|
boot.kernelModules = [
|
||||||
"v4l2loopback"
|
"v4l2loopback"
|
||||||
"nct6775"
|
"nct6775"
|
||||||
|
|
@ -176,8 +188,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ 5909 ];
|
networking.firewall.allowedTCPPorts = [ 2000 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ 5909 ];
|
networking.firewall.allowedUDPPorts = [ 2000 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,7 @@
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
programs.zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"'';
|
||||||
|
|
||||||
home.pointerCursor =
|
home.pointerCursor =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue