Add firewall, remove unused programs, update hyprland conf
This commit is contained in:
@@ -13,12 +13,32 @@
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "darp8";
|
||||
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
wifi.backend = "iwd";
|
||||
};
|
||||
hostName = "nixos-laptop";
|
||||
firewall.enable = false;
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
allowedTCPPorts = [ 21 22 80 443 4070 ];
|
||||
allowedUDPPorts = [ 4070 ];
|
||||
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 8000; to = 8010; }
|
||||
{ from = 27031; to = 27036; }
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 27000; to = 27036; }
|
||||
{ from = 5001; to = 65535; }
|
||||
];
|
||||
|
||||
allowPing = true;
|
||||
};
|
||||
|
||||
wireless.iwd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -30,10 +50,6 @@
|
||||
# Configure network proxy if necessary
|
||||
# proxy.default = "http://user:password@proxy:port/";
|
||||
# proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Madrid";
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
emacsPackages.pdf-tools
|
||||
exfatprogs
|
||||
filezilla
|
||||
firefox
|
||||
floorp
|
||||
genymotion
|
||||
ghostty
|
||||
@@ -50,7 +49,6 @@
|
||||
mpv
|
||||
mupdf
|
||||
nautilus
|
||||
netbeans
|
||||
networkmanagerapplet
|
||||
nwg-look
|
||||
openvpn
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
numlock_by_default = true;
|
||||
|
||||
touchpad = {
|
||||
disable_while_typing = false;
|
||||
disable_while_typing = true;
|
||||
natural_scroll = true;
|
||||
middle_button_emulation = true;
|
||||
scroll_factor = 0.5;
|
||||
@@ -96,6 +96,15 @@
|
||||
key_press_enables_dpms = true;
|
||||
};
|
||||
|
||||
ecosystem = {
|
||||
no_update_news = true;
|
||||
no_donation_nag = true;
|
||||
};
|
||||
|
||||
experimental = {
|
||||
xx_color_management_v4 = true;
|
||||
};
|
||||
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
blur = {
|
||||
@@ -139,36 +148,36 @@
|
||||
};
|
||||
|
||||
windowrule = [
|
||||
"idleinhibit fullscreen, firefox"
|
||||
"idleinhibit fullscreen, floorp"
|
||||
"idleinhibit fullscreen, ghostty"
|
||||
"idleinhibit focus, firefox"
|
||||
"idleinhibit focus, floorp"
|
||||
"idleinhibit focus, mpv"
|
||||
"idleinhibit focus, ^(emacs)$"
|
||||
"idleinhibit focus, ^(Emacs)$"
|
||||
"idleinhibit focus, ^(discord)$"
|
||||
"idleinhibit focus, ^(Discord)$"
|
||||
"idleinhibit focus, ^(spotify)$"
|
||||
"float, polkit-kde-authentication-agent-1"
|
||||
"float, ^(praat)$"
|
||||
"float, ^(network)$"
|
||||
"float, ^(nm-)$"
|
||||
"float, ^(Network)$"
|
||||
"float, Rofi"
|
||||
"float, Gimp"
|
||||
"float, Nautilus"
|
||||
"float, notification"
|
||||
"float, ^(launcher)$"
|
||||
"tile, Spotify"
|
||||
"tile, Minecraft"
|
||||
"workspace 2, KeePassXC"
|
||||
"workspace 3, firefox"
|
||||
"workspace 3, floorp"
|
||||
"workspace 4, Spotify"
|
||||
"workspace 6, discord"
|
||||
"workspace 6, Signal"
|
||||
"workspace 10, Minecraft"
|
||||
"idleinhibit fullscreen, class:firefox"
|
||||
"idleinhibit fullscreen, class:floorp"
|
||||
"idleinhibit fullscreen, class:ghostty"
|
||||
"idleinhibit focus, class:firefox"
|
||||
"idleinhibit focus, class:floorp"
|
||||
"idleinhibit focus, class:mpv"
|
||||
"idleinhibit focus, class:^(emacs)$"
|
||||
"idleinhibit focus, class:^(Emacs)$"
|
||||
"idleinhibit focus, class:^(discord)$"
|
||||
"idleinhibit focus, class:^(Discord)$"
|
||||
"idleinhibit focus, class:^(spotify)$"
|
||||
"float, class:polkit-kde-authentication-agent-1"
|
||||
"float, class:^(praat)$"
|
||||
"float, class:^(network)$"
|
||||
"float, class:^(nm-)$"
|
||||
"float, class:^(Network)$"
|
||||
"float, class:Rofi"
|
||||
"float, class:Gimp"
|
||||
"float, class:Nautilus"
|
||||
"float, class:notification"
|
||||
"float, class:^(launcher)$"
|
||||
"tile, class:Spotify"
|
||||
"tile, title:Minecraft"
|
||||
"workspace 2, class:KeePassXC"
|
||||
"workspace 3, class:firefox"
|
||||
"workspace 3, class:floorp"
|
||||
"workspace 4, class:Spotify"
|
||||
"workspace 6, class:discord"
|
||||
"workspace 6, class:Signal"
|
||||
"workspace 10, title:Minecraft"
|
||||
];
|
||||
|
||||
"$mainMod" = "SUPER";
|
||||
|
||||
Reference in New Issue
Block a user