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
unpackerr
qbittorrent-nox
python310
python310Packages.torchWithCuda
python3
python3Packages.torchWithCuda
ollama
];
@ -124,18 +124,15 @@
services.tailscale.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [ 22 80 8090 8096 443 433 6969 1194 ];
networking.firewall.allowedUDPPorts = [ 22 80 8090 8096 443 433 6969 1194 ];
networking.firewall.enable = true;
##storage
#autofs
#services.autofs.enable = true;
#smb share
#nfs share
#services.nfs.server = {

View File

@ -6,6 +6,22 @@ imports =
../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.
environment.shellAliases = {
gst="git status";
@ -20,8 +36,6 @@ imports =
programs.bash.shellAliases = config.environment.shellAliases;
environment.interactiveShellInit = ''
alias gst='git status'
alias gcm='git commit -m'