mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 07:15:49 -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;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
||||||
users.extraUsers = {
|
users.extraUsers = {
|
||||||
daylin = {
|
daylin = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
networking.hostName = "algiz";
|
networking.hostName = "algiz";
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = "America/Chicago";
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
programs.nix-ld.libraries = with pkgs; [
|
programs.nix-ld.libraries = with pkgs; [
|
||||||
|
@ -96,11 +97,14 @@
|
||||||
enableSSHSupport = true;
|
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.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.permitRootLogin = "no";
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
Loading…
Add table
Reference in a new issue