mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add networking rules
This commit is contained in:
parent
417696048c
commit
dd37a55211
1 changed files with 7 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
|||
];
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
users.extraUsers = {
|
||||
daylin = {
|
||||
isNormalUser = true;
|
||||
|
@ -36,7 +37,7 @@
|
|||
networking.hostName = "algiz";
|
||||
time.timeZone = "America/Chicago";
|
||||
programs.zsh.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
|
@ -96,11 +97,14 @@
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
# allow tcp connections for git.dayl.in (gitea)
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.permitRootLogin = "no";
|
||||
users.mutableUsers = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
Loading…
Reference in a new issue