server: add lazygit and enable firewall

This commit is contained in:
2026-08-02 21:32:09 +02:00
parent b4ae5a89aa
commit 78eaa4674a
5 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
networking.hostId = "6054e036"; networking.hostId = "6054e036";
networking.hostName = "nixos-music"; networking.hostName = "nixos-music";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall.enable = false; networking.firewall.enable = true;
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
+5 -3
View File
@@ -18,13 +18,15 @@
"edit" "edit"
"fish" "fish"
"hook" "hook"
"info"
"missing"
]; ];
import = { import = {
copy = false; copy = false;
move = true; move = false;
autotag = false; autotag = true;
write = true; write = false;
}; };
paths = { paths = {
+3
View File
@@ -16,6 +16,9 @@
programs.zoxide.enable = true; programs.zoxide.enable = true;
programs.zoxide.enableFishIntegration = true; programs.zoxide.enableFishIntegration = true;
programs.lazygit.enable = true;
programs.lazygit.enableFishIntegration = true;
programs.gcc.enable = true; programs.gcc.enable = true;
programs.eza = { programs.eza = {
+1
View File
@@ -6,6 +6,7 @@
./services.nix ./services.nix
./smb.nix ./smb.nix
./zfs.nix ./zfs.nix
./firewall.nix
../scripts.nix ../scripts.nix
]; ];
} }
+9
View File
@@ -0,0 +1,9 @@
{
networking.firewall.allowedTCPPorts = [
32895
4533
2049
445
5030
];
}