diff --git a/nixos/fuchsia/configuration.nix b/nixos/fuchsia/configuration.nix index 0326261..c0463d0 100644 --- a/nixos/fuchsia/configuration.nix +++ b/nixos/fuchsia/configuration.nix @@ -115,14 +115,12 @@ networking = { hostName = "fuchsia"; domain = "kanto.dev"; - # Connect to networks networkmanager.enable = true; - # Open ports in the firewall. - firewall = { - enable = true; - allowedTCPPorts = [ ]; - allowedUDPPorts = [ ]; - }; + # firewall = { + # enable = true; + # allowedTCPPorts = [ ]; + # allowedUDPPorts = [ ]; + # }; }; fonts = { @@ -227,7 +225,6 @@ # Users users.users.sajenim = { isNormalUser = true; - description = "Jasmine Marie Wilson"; extraGroups = [ "audio" "docker" "networkmanager" "wheel" ]; shell = pkgs.zsh; }; diff --git a/nixos/lavender/configuration.nix b/nixos/lavender/configuration.nix index e68d946..2548f3b 100644 --- a/nixos/lavender/configuration.nix +++ b/nixos/lavender/configuration.nix @@ -109,9 +109,12 @@ networking = { hostName = "lavender"; domain = "kanto.dev"; - networkmanager = { - enable = true; - }; + networkmanager.enable = true; + # firewall = { + # enable = true; + # allowedTCPPorts = [ ]; + # allowedUDPPorts = [ ]; + # }; }; environment = { @@ -139,7 +142,9 @@ # Enable the OpenSSH daemon. openssh = { enable = true; + # Disable root login. permitRootLogin = "no"; + # Disable password login (Require keys). passwordAuthentication = false; }; }; @@ -147,23 +152,12 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.admin = { isNormalUser = true; - extraGroups = [ "docker" "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.zsh; openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ]; }; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "22.11"; # Did you read the comment? + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion + system.stateVersion = "22.11"; }