update configuration.nix
This commit is contained in:
parent
73df95d8ad
commit
a29c09636d
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue