{ config, pkgs, lib, myUser, ... }: { nix.settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; }; programs.zsh.enable = true; users.defaultUserShell = pkgs.zsh; environment.systemPackages = with pkgs; [ git curl htop tmux killall neovim progress ]; # SSH users.users.${myUser} = { isNormalUser = true; extraGroups = [ "wheel" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship" ]; }; users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship" ]; services.openssh = { enable = true; settings.PasswordAuthentication = false; }; }