diff --git a/machines/galadriel/configuration.nix b/machines/galadriel/configuration.nix index 12d9074..9381a91 100644 --- a/machines/galadriel/configuration.nix +++ b/machines/galadriel/configuration.nix @@ -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 = { diff --git a/profiles/base.nix b/profiles/base.nix index d832cc3..cdc6bea 100644 --- a/profiles/base.nix +++ b/profiles/base.nix @@ -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'