Removed zsh, fixed ssh-agent config

This commit is contained in:
2025-05-19 15:36:40 -04:00
parent accefc4a74
commit d457331ea6
3 changed files with 36 additions and 41 deletions

View File

@@ -116,15 +116,16 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Install zsh
programs.zsh.enable = true;
# Bash config
programs.bash = {
blesh.enable = true;
};
# Define a user account. Don't forget to set a password with passwd.
users.users.chase = {
isNormalUser = true;
description = "Chase";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
};
# Install firefox.
@@ -171,7 +172,8 @@
environment.systemPackages = with pkgs; [
alacritty
audacity
bitwarden
bitwarden-cli
bitwarden-desktop
emacs-pgtk
fastfetch
ffmpeg
@@ -204,10 +206,11 @@
];
# ssh agent
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
# programs.mtr.enable = true;
programs.gnupg.agent.enable = true;
programs.ssh = {
enableAskPassword = false;
};
# List services that you want to enable:
@@ -217,7 +220,13 @@
security.polkit.enable = true;
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];