firewall fix + base packages

This commit is contained in:
Adrian Gunnar Lauterer 2024-04-08 20:01:01 +02:00
parent 810b341958
commit d55c831e73
2 changed files with 21 additions and 10 deletions

View File

@ -81,8 +81,8 @@
sonixd sonixd
unpackerr unpackerr
qbittorrent-nox qbittorrent-nox
python310 python3
python310Packages.torchWithCuda python3Packages.torchWithCuda
ollama ollama
]; ];
@ -124,10 +124,9 @@
services.tailscale.enable = true; services.tailscale.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; networking.firewall.allowedTCPPorts = [ 22 80 8090 8096 443 433 6969 1194 ];
# networking.firewall.allowedUDPPorts = [ ... ]; networking.firewall.allowedUDPPorts = [ 22 80 8090 8096 443 433 6969 1194 ];
# Or disable the firewall altogether. networking.firewall.enable = true;
networking.firewall.enable = false;
##storage ##storage
@ -135,8 +134,6 @@
#autofs #autofs
#services.autofs.enable = true; #services.autofs.enable = true;
#smb share
#nfs share #nfs share
#services.nfs.server = { #services.nfs.server = {
# enable = true; # enable = true;

View File

@ -6,6 +6,22 @@ imports =
../services/ssh.nix ../services/ssh.nix
]; ];
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
git
rsync
ripgrep
tailscale
];
#system vide bash aliases. #system vide bash aliases.
environment.shellAliases = { environment.shellAliases = {
gst="git status"; gst="git status";
@ -20,8 +36,6 @@ imports =
programs.bash.shellAliases = config.environment.shellAliases; programs.bash.shellAliases = config.environment.shellAliases;
environment.interactiveShellInit = '' environment.interactiveShellInit = ''
alias gst='git status' alias gst='git status'
alias gcm='git commit -m' alias gcm='git commit -m'