firewall fix + base packages
This commit is contained in:
parent
810b341958
commit
d55c831e73
|
@ -81,8 +81,8 @@
|
||||||
sonixd
|
sonixd
|
||||||
unpackerr
|
unpackerr
|
||||||
qbittorrent-nox
|
qbittorrent-nox
|
||||||
python310
|
python3
|
||||||
python310Packages.torchWithCuda
|
python3Packages.torchWithCuda
|
||||||
ollama
|
ollama
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -124,18 +124,15 @@
|
||||||
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
|
||||||
|
|
||||||
|
|
||||||
#autofs
|
#autofs
|
||||||
#services.autofs.enable = true;
|
#services.autofs.enable = true;
|
||||||
|
|
||||||
#smb share
|
|
||||||
|
|
||||||
#nfs share
|
#nfs share
|
||||||
#services.nfs.server = {
|
#services.nfs.server = {
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue